Web based family history software

Question [SOLVED] phpunit test

  • bgva2005
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago #1 by bgva2005
phpunit test was created by bgva2005
I am trying to run the unit test inside Test folder.

I am running this command:
Code:
./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/TestCase

I am receiving this answer:


Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #2 by fisharebest
Replied by fisharebest on topic phpunit test
This is the expected output.

TestCase.php is a base class, that creates the test environment.

It doesn't do any testing of its own.

All the other tests extend this class.


There is a phpunit.xml.dist file included - so all you need to do is run

vendor/bin/phpunit

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • bgva2005
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago #3 by bgva2005
Replied by bgva2005 on topic [SOLVED] phpunit test
Problem solved.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
}