Skip to content

Commit 62564c9

Browse files
committed
Improve and rename integration tests
1 parent 2a23827 commit 62564c9

4 files changed

Lines changed: 6 additions & 31 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ jobs:
4848
pip install -e ".[dev]"
4949
working-directory: ./python
5050
- name: Test
51-
run: pytest tests/__init__.py
51+
run: pytest tests
5252
working-directory: ./python

java/src/test/java/io/github/moctave/weftspace/UnitTests.java renamed to java/src/test/java/io/github/moctave/weftspace/TestIntegration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
import java.util.ArrayList;
2222

2323
/**
24-
* A class containing all the unit tests to be run on this library.
24+
* The integrations tests for this library.
2525
*/
26-
public class UnitTests {
26+
public class TestIntegration {
2727
/**
2828
* A method which constructs a sample data node that can be used across multiple tests.
2929
* @return The node to use for testing.

python/tests/__init__.py

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
from tests.test_utils import TestUtils
2020

21-
class UnitTests(unittest.TestCase):
22-
"""The actual unit tests being run on the code."""
21+
class TestIntegration(unittest.TestCase):
22+
"""The integration tests for this library."""
2323

2424
def test_node_equality(self):
2525
"""A test to make sure identical data nodes are being treated as equal."""
@@ -160,4 +160,4 @@ def test_terrible_indentation(self):
160160

161161

162162
if __name__ == "__main__":
163-
unittest.main()
163+
unittest.main()

0 commit comments

Comments
 (0)