Skip to content

Commit d58b498

Browse files
authored
tests: replace behave/bdd with phpunit (#64)
1 parent c3cbd1b commit d58b498

File tree

18 files changed

+2993
-557
lines changed

18 files changed

+2993
-557
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: CC=clang-18 make
6969

7070
- name: test requirements
71-
run: cd tests/bdd && python -m venv env && env/bin/pip install -r requirements.txt
71+
run: cd tests/phpunit && composer install
7272

7373
- name: make test
7474
run: make test

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,5 @@ ccheck:
121121
tests/ccheck.py src modules
122122

123123
.PHONY: test
124-
test: build
125-
cd tests/bdd && env/bin/behave
124+
test:
125+
cd tests/phpunit && vendor/bin/phpunit

tests/bdd/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/bdd/chat.feature

Lines changed: 0 additions & 25 deletions
This file was deleted.

tests/bdd/environment.py

Lines changed: 0 additions & 37 deletions
This file was deleted.

tests/bdd/login.feature

Lines changed: 0 additions & 58 deletions
This file was deleted.

tests/bdd/requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)