-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start implementing smoke testing (#40)
* Start implementing smoke testing * add more api tests * install test dependencies Where there's smoke, there's fire! See https://www.atlassian.com/continuous-delivery/software-testing/types-of-software-testing Signed-off-by: nstarman <nstarman@users.noreply.github.com>
- Loading branch information
Showing
14 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,7 +83,9 @@ filterwarnings = [ | |
] | ||
log_cli_level = "INFO" | ||
testpaths = [ | ||
"tests", | ||
"tests/", | ||
"docs", | ||
"src/galax", | ||
] | ||
|
||
|
||
|
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
"""Testing :mod:`galax.dynamics.mockstream` module.""" | ||
|
||
from galax.dynamics import mockstream | ||
|
||
|
||
def test_all(): | ||
"""Test the `galax.dynamics.mockstream` API.""" | ||
assert set(mockstream.__all__) == set( | ||
mockstream._df.__all__ + mockstream._mockstream_generator.__all__ | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
"""Testing :mod:`galax.dynamics` module.""" | ||
|
||
import galax.dynamics as gd | ||
|
||
|
||
def test_all(): | ||
"""Test the `galax.potential` API.""" | ||
assert set(gd.__all__) == set( | ||
gd._core.__all__ + gd._orbit.__all__ + gd.mockstream.__all__ | ||
) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
"""Test the :mod:`galax.integrate` module.""" | ||
|
||
from galax import integrate | ||
|
||
|
||
def test_all(): | ||
"""Test the API.""" | ||
assert set(integrate.__all__) == set( | ||
integrate._base.__all__ + integrate._builtin.__all__ | ||
) |
Empty file.
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.