Skip to content

Add simple phpunit tests#1406

Open
Raruto wants to merge 2 commits intoagentejo:nextfrom
Raruto:phpunit
Open

Add simple phpunit tests#1406
Raruto wants to merge 2 commits intoagentejo:nextfrom
Raruto:phpunit

Conversation

@Raruto
Copy link
Contributor

@Raruto Raruto commented Jan 25, 2021

I have created some really simple tests for the Forms module (hoping this can serve as a starting point for other critical parts as well...)


List of changes:

  • add .gitattributes files in order to exclude tests folder from releases
  • remove tests folder from .gitignore files
  • require phpunit ^7 as composer.json dev dependecy
  • add phpunit.xml.dist and tests/bootstrap.php autoloader
  • add tests/modules/FormsTest.php test file

Useful links:

Happy Testing,
Raruto

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

Successfully merging this pull request may close these issues.

1 participant