Skip to content

rogoit/testify-tests

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testify test demo package to start Codeception tests

We want to show you how to build your own tests from scratch

Installation guide

We use here a setup for our local Chrome browser. This is important to develop things. You can also go a way with the offical selenium docker chrome container and TigerVLC zu connect you. But on our daily work we use this.

For a client with a Mac we setup this little step tutorial. Roland Golla is working on Ubuntu and can also do his work. For windows user its a better way to go with npm packages.

Installation steps

Use environment vars to make this run local and on the Testify online tool. Please without the last "/".

export WEBDRIVER_URL="127.0.0.1" && export WEBSITE_URL="https://www.wikipedia.de"

Install Chromedriver to connect your Selenium server to your local browser. Can be that there is also a way to only use Chromedriver. But we do not know this so far ;)

brew cask install chromedriver

Install a local Selenium server. It runs by default on port 4444

brew install selenium-server-standalone

Run your tests. The parameter --steps will show you the steps on the terminal. --html will generate a HTML report and -vvv gives you better verbose information.

vendor/bin/codecept run acceptance --steps --html -vvv

Run a single test cest

vendor/bin/codecept run acceptance Search --steps --html -vvv

Run a specific test

vendor/bin/codecept run acceptance Search/SearchCest:autocompleteItemsMatchSearchWord --steps --html -vvv

Offical webpage Testify by Never Code Alone

Testify Never Code Alone

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%