Spock
astropy
Spock | astropy | |
---|---|---|
11 | 26 | |
3,489 | 4,210 | |
0.1% | 1.0% | |
9.4 | 9.9 | |
8 days ago | 7 days ago | |
Java | Python | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Spock
-
Mastering Spring Cloud Gateway Testing: Predicates (part 1)
I love using the Spock framework for its simplicity, readability, and maintainability. That's why we use Spock to drive our integration tests.
-
Helidon Níma is the first Java microservices framework based on virtual threads
Well I care a lot that it exists. And many other people I know do as well. Just because you don't seem to like it, you shouldn't imagine everyone else is like you.
Maybe Grails is no longer used as much (like Rails itself), but Groovy found other usages since then, like https://spockframework.org/ and Jenkins pipelines (https://www.jenkins.io/doc/book/pipeline/syntax/). It's not going anywhere, and I see no reason for anyone to be upset about it.
-
Ask HN: What's your favorite software testing framework and why?
In my opinion it is Spock for Java/Groovy [1]. The amount of functionality and readability you can squeeze from Groovy's DSLesque is absurd. Is basically a full fledged new test language with Java sprinkled as the test contents code
[1]: https://spockframework.org/
- 7 Awesome Libraries for Java Unit & Integration Testing
- There is framework for everything.
-
Are there languages that allow to extend its syntax ?
Groovy allows you to perform transforms on it's AST. If you look at the Spock framework, they used AST transforms to pull off a lot of the DSL.
-
Using Cucumber and Spock for API test Automation — What Benefits Can You Expect?
Spock and Cucumber exemplify the philosophy of behavior-driven development (BDD). The principle behind BDD is that you must first define the desired result of the added feature in a subject-oriented language before writing any tests. The developers are then given the final documentation.
- A linguagem de programação Groovy - Radar da itexto
- Gradle 7.0 Released
-
HTTPS Client Certificate Authentication With Java
As a quick demonstration, the following (Spock) test asserts that the client JVM code fails to create an SSL connection with the service. Note that I chose to use Vert.x Web Client to handle interacting with the service, but don't let this decision distract from the core content of this post. Nevertheless, if you haven't used Vert.x, I encourage you to try it out -- especially for building server-side network applications.
astropy
-
Julia 1.10 Released
Astropy [0] lives at the heart of most work. It has a Python interface, often backed by Fortran and C++ extension modules. If you use Astropy, you're indirectly using libraries like ERFA [6] and cfitsio [7] which are in C/Fortran.
I personally end up doing a lot of work that uses the HEALPix sky tesselation, so I use healpy [2] as well.
Openorb is perhaps a good example of a pure-Fortran package that I use quite. frequently for orbit propagation [3].
In C, there's Rebound [4] (for N-body simulations) and ASSIST [5] (which extends Rebound to use JPL's pre-calculated positions of major perturbers, and expands the force model to account for general relativity).
There are many more, these are just ones that come to mind from frequent usage in the last few months.
[0] https://www.astropy.org/
-
Skyfield: Elegant Astronomy for Python
Users interested in a broader range of astronomical tools beyond coordinate transformations may be interested in https://www.astropy.org/ and its affiliated packages.
- Astropy: Common core package for Astronomy in Python
- [R] Astronomia ex machina: a history, primer and outlook on neural networks in astronomy
-
License Adherence Help
I'm working on a pure Rust approximation of astropy. Up til now, I was able to recreate the intent by looking at an external API, but I'm moving on to functionality that I don't understand enough to implement without basically copying the code. Astropy uses the BSD-3 license, and it wraps the ERFA library which uses a custom license. My project currently uses the MIT license. My PR is here - my question is have I attributed everything correctly, or is there anything I need to change for everything to be above-board?
- Astro physics data analysis
- I'm a mechanical engineer with a solid background in Python and experience earlier in my career in natural science/physics. Are there any meaningful, active, open source opportunities in space science?
- OpenSource voltado à ciência
-
Astronomical Calculations for Hard SF in Common Lisp
For folks who might be interested in astronomical calculations but who don't want to roll their own library, astropy (https://www.astropy.org/) is widely used by professional astronomers.
-
Looking to study data from JWST's spectroscopy instruments
I agree with the other commenter. Check out their github. If you’re looking to build your skills long term (and have some experience with python) it’s worth checking out astropy and their fits file handling routines.
What are some alternatives?
Cucumber - Cucumber for the JVM
Pandas - Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
REST Assured - Java DSL for easy testing of REST services
SciPy - SciPy library main repository
AssertJ - AssertJ is a library providing easy to use rich typed assertions
Dask - Parallel computing with task scheduling
Awaitility - Awaitility is a small Java DSL for synchronizing asynchronous operations
Numba - NumPy aware dynamic Python compiler using LLVM
Mockito - Most popular Mocking framework for unit tests written in Java
SymPy - A computer algebra system written in pure Python
ArchUnit - A Java architecture test library, to specify and assert architecture rules in plain Java
PyDy - Multibody dynamics tool kit.