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

Testing #107

Open
1 of 8 tasks
nibra opened this issue Jun 4, 2016 · 2 comments
Open
1 of 8 tasks

Testing #107

nibra opened this issue Jun 4, 2016 · 2 comments
Labels
Milestone

Comments

@nibra
Copy link
Member

nibra commented Jun 4, 2016

The idea is to automatically setup the test environements using docker-compose, controlled by a Robo task (see RoboFile.php). The setup should not only serve core development, but also persue extension developers to use the testing environment to improve the quality of their products.

Unit Testing

For unit tests, there's not necessarily needed a separate environment, but it can help anyway (see Isolating PHPUnit).

  • Docker based test setup
  • Improve the current unit testing coverage
    • The overall coverage should at least be at 70%.
    • Coverage of a single package should at least be at 80%.

Integration (Functional) Testing

For integration (functional) tests, we need an installed Joomla, i.e., initialised database, mailcatcher, and so on.

  • Docker based test setup

System (Acceptance) Testing

For system (acceptance) tests, additionally the selenium grid is needed.

  • Docker based test setup for CLI
  • Docker based test setup for API
  • Docker based test setup for Browser
  • Page Objects, see Testing: Page Objects #108

Security Testing

It makes sense to add a security test level using the OWASP Zed Attack Proxy and/or the Vega Vulnerability Scanner.

  • Docker based test setup
@nibra nibra added this to the X.0 milestone Jun 4, 2016
@nibra nibra changed the title Unit Tests Testing Jun 16, 2016
@nibra nibra modified the milestones: EPIC, X.0 Jun 16, 2016
@nibra nibra added the Epic label Jun 16, 2016
@Biromain
Copy link

We need extensions can also be tested.
With that, extensions on JED can have a status about unit test, security checked, etc.

@nibra
Copy link
Member Author

nibra commented Sep 21, 2016

Updated the issue description accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants