Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how do I run the tests? #1

Open
akosglue opened this issue Jul 15, 2022 · 1 comment
Open

how do I run the tests? #1

akosglue opened this issue Jul 15, 2022 · 1 comment

Comments

@akosglue
Copy link

bin/codecept run unit
gives me an error

[RuntimeException] Call to undefined method UnitTester::createGameTable

@akosglue
Copy link
Author

I got it running actually, but I had to make some modifications.
In the *.suite.yml files I had to comment out the lines with any \Helper.. line.
Afterwards I added this to: tests/_support/UnitTester.php
public function createGameTable(): \Azul\Game\Table { return new Table(new Marker()); }

However, I am not sure if it is the right place. But anyways, the command: bin/codecept run unit runs now without problems: OK (47 tests, 150 assertions)

akosglue pushed a commit to akosglue/azul that referenced this issue May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant