Skip to content

Instantly share code, notes, and snippets.

@hxtree
Last active December 3, 2021 16:56
Show Gist options
  • Save hxtree/e6169e4b64ce23fb9ccfb6990b0d275f to your computer and use it in GitHub Desktop.
Save hxtree/e6169e4b64ce23fb9ccfb6990b0d275f to your computer and use it in GitHub Desktop.

Build options:

  • Jenkins Blue Ocean plugin for creating pipeline makes Jenkins easy.
  • Github Actions
  • Gitlab CI
  • TravisCI worked well open source project, but I chose to switch over to Github Actions.

Testing

Unit Tests

Test individual methods.

  • PHP: PHPUnit

Feature Tests

  • PHP: PHPUnit

Automation Tests

  • Browser: Selenium IDE browser extension for recording a new test project.

Smoke Tests

Quick set of tests to try and see if a problem occurs

Regression Tests

Tests to see if existing feature is broken

Benchmark Tests

See if code matches desired benchmarks.

  • PHP: PHPBenchMark

Code Style Tests

  • PHP: PHPCSFixer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment