Skip to content

Commit c617306

Browse files
authored
Merge pull request #120 from trotttrotttrott/feature/unit-test-make-targets
Unit Test Make Targets
2 parents d31e523 + 41426f7 commit c617306

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

Makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,20 @@ check_headers: ## Check that source files have appropriate boilerplate
6868
@echo "Checking file headers"
6969
@python test/verify_boilerplate.py
7070

71+
.PHONY: test_migrate
72+
test_migrate:
73+
@echo "Testing migrate script"
74+
@python test/helpers/test_migrate.py
75+
76+
.PHONY: test_preconditions
77+
test_preconditions:
78+
@echo "Testing preconditions script"
79+
@python test/scripts/preconditions/test_preconditions.py
80+
81+
# Unit tests
82+
.PHONY: test_unit
83+
test_unit: test_migrate test_preconditions
84+
7185
# Integration tests
7286
.PHONY: test_integration
7387
test_integration: ## Run integration tests

test/scripts/preconditions/test_preconditions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
os.path.abspath(
2222
os.path.join(
2323
os.path.dirname(__file__),
24-
'../../../scripts/preconditions')))
24+
'../../../modules/core_project_factory/scripts/preconditions')))
2525

2626
import preconditions # noqa: E402
2727

0 commit comments

Comments
 (0)