This Tests, using the BDD framework Cucumber + HTTParty to provide documentation to automated tests.
- Ruby 2.5.5
- cucumber
- httparty
- pry
- rspec
- PurgoMalum
- unzip the project
- access the path and execute $ bundle install ** is necessary environment RUBY installed in machine
- from Windows use: https://rubyinstaller.org/
- from MAC use: https://bddsemcomplicacao.blogspot.com/2019/07/criando-um-projeto-no-mac-os-do-zero.html
- from Linux use: https://bddsemcomplicacao.blogspot.com/2019/09/criando-um-projeto-no-linux-ubuntu-do.html
type: $API-purgomalum-automation>cucumber features*
type: $API-purgomalum-automation>cucumber features\specs\purgomalum.feature --tag @success
type: $API-purgomalum-automation>cucumber features\specs\purgomalum.feature --tag @errorMessage
type: $API-purgomalum-automation>cucumber features\specs\purgomalum.feature --tag @error
Report is generated in $API-purgomalum-automation\reports in html format
- $API-purgomalum-automation\reports\execution_report.html
- PurgoMalum is a simple, free, RESTful web service for filtering and removing content of profanity, obscenity and other unwanted text. PurgoMalum's interface accepts several parameters for customization and can return results in plain text, XML and JSON.
- See more in http://www.purgomalum.com/