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

Add simple phpunit tests #1406

Open
wants to merge 2 commits into
base: next
Choose a base branch
from
Open

Add simple phpunit tests #1406

wants to merge 2 commits into from

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.

None yet

1 participant