Digital Craftsman
  • Search
Sign in Subscribe

testing

A collection of 3 posts
Keep local storage in Cypress
testing

Keep local storage in Cypress

When using cypress for tests, your session and local storage data will be cleared after every test. This is a good default, but might make the tests slower as the login is one of the slowest part of most applications (as the password hashing in the background takes a lot
Sep 16, 2019 1 min read
Run only one test in PHPUnit
php

Run only one test in PHPUnit

While writing your tests, you of course don't want to run your whole test suite again and again to check if one tests runs through. There are ways to group tests with @group annotations and ways to run just one file by suppling the path to the file. But there
Jul 15, 2019 1 min read
javascript

Cypress.io

Most javascript unit tests run on node js (or equivalent). There is a new service which run's unit and integration tests directly in the browser. It's currently in its beta phase and looks very promising. It's free while it's in beta (there are no information about final pricing yet). Cypress.
Mar 9, 2015
Page 1 of 1
Digital Craftsman © 2023
  • Datenschutz
  • Impressum
Powered by Ghost