All Projects → 99x → CodeSpecJS

99x / CodeSpecJS

Licence: MIT License
UI Automation Testing without writing a single line of code

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
Gherkin
971 projects

Projects that are alternatives of or similar to CodeSpecJS

jest-retry
Jest retry pattern for flaky E2E tests
Stars: ✭ 36 (+125%)
Mutual labels:  test, test-automation
angular-cli-skeleton
angular-cli skeleton to quickly start a new project with advanced features and best practices. All features are described in README.md.
Stars: ✭ 32 (+100%)
Mutual labels:  test, protractor
carina
Carina automation framework: Web, Mobile, API, DB etc testing...
Stars: ✭ 652 (+3975%)
Mutual labels:  test, test-automation
arduino-ci-script
Bash script for continuous integration of Arduino projects
Stars: ✭ 25 (+56.25%)
Mutual labels:  test, test-automation
action-junit-report
Reports junit test results as GitHub Pull Request Check
Stars: ✭ 103 (+543.75%)
Mutual labels:  test, test-automation
eat
Json based scenario testing tool(which can have test for functional and non-functional)
Stars: ✭ 41 (+156.25%)
Mutual labels:  test, test-automation
karate
Test Automation Made Simple
Stars: ✭ 6,384 (+39800%)
Mutual labels:  test-automation, cucumber
Hitchhiker
a Restful Api test tool
Stars: ✭ 2,175 (+13493.75%)
Mutual labels:  test, test-automation
IO-TESTER
A functional test framework
Stars: ✭ 32 (+100%)
Mutual labels:  test, test-automation
Telegraf-Test
Telegraf Test - Simple Test ToolKit of Telegram Bots
Stars: ✭ 22 (+37.5%)
Mutual labels:  test, test-automation
BDTest
BDTest - A Testing Framework for .NET
Stars: ✭ 58 (+262.5%)
Mutual labels:  test, test-automation
Wasmite
Now WebAssembly has proper testing, unit-testing and debugging 🤗
Stars: ✭ 20 (+25%)
Mutual labels:  test, test-automation
Nightwatch Cucumber
[DEPRECATED] Cucumber.js plugin for Nightwatch.js.
Stars: ✭ 243 (+1418.75%)
Mutual labels:  test, cucumber
jpa-unit
JUnit extension to test javax.persistence entities
Stars: ✭ 28 (+75%)
Mutual labels:  test, cucumber
Ocaramba
C# Framework to automate tests using Selenium WebDriver
Stars: ✭ 234 (+1362.5%)
Mutual labels:  test, test-automation
ara
Agile Regression Analyzer
Stars: ✭ 74 (+362.5%)
Mutual labels:  test, cucumber
Ztest
自动化测试报告
Stars: ✭ 143 (+793.75%)
Mutual labels:  test, test-automation
Swagger meqa
Auto generate and run tests using swagger/OpenAPI spec, no coding needed
Stars: ✭ 151 (+843.75%)
Mutual labels:  test, test-automation
verification-tests
Blackbox test suite for OpenShift.
Stars: ✭ 41 (+156.25%)
Mutual labels:  test-automation, cucumber
karate-runner
VSCode Extension for Karate
Stars: ✭ 23 (+43.75%)
Mutual labels:  test-automation, cucumber

CodeSpecJS

Welcome to the CodeSpecJS. A Protractor and Cucumber.JS based framework that allow users to write UI Automation Tests without writing a single line of code.

Gherkin grammar is very popular among many BDD frameworks. CodeSpecJS is targeting to take it to the next level by eliminating the need to write code associated with the Gherkin grammar.

Key Feature

Getting Started

Step 1: Setting up the development environment

  1. You need to install NodeJs with NPM . You'll also need to install and configure Git .
  2. Latest version of Chrome

Step 2: Clone the project

git clone https://github.com/99xt/CodeSpecJS.git

Step 3: Install node packages

Step inside the project root folder and issue the following command to install node dependencies.

npm install

Step 4: Open sample tests

use VS Code to open the project

code .

now navigate to 'features' folder and open 'cat.feature' file see the readable test case

Feature: As a user I want to test google search so that I can search for Cats
   Scenario: Search google for cats
       Given Navigate to "http://www.google.com"
       And Wait for "Google Main Search Text Box" to appear
       Then I enter "Cats" to the "Google Main Search Text Box"
       And Click on "Search Button"
       And Wait for "Second Result Element Cats" to contain text "Cats"
  • This is a standard Cucumber feature specification file.
  • We are using CodeSpecJS pre-defined grammar to write the test above. A full set of Supported grammar with detail description can be found here

Thats it, you are now ready to run the test.

Step 5: Running the test

Inside the project root folder, issue the following command

npm run test

Note that first time execution may take few minutes since system need to download browser drivers and configure them You should see your test executed in Chrome browser, Results will be shown in your console log. A detailed HTML report is generated under <project_root>/results/reports. Open the html report and see the detailed results.

Where to go from here?

  1. Improve the tests you wrote here by learning how to integrate an Object Repository
  2. See what are the other pre-defined CodeSpecJS grammar you can use in your tests and experiment with them
  3. Learn how to integrate your test project with Jenkins (a proven Continuos Integration environment )
  4. Improve your productivity even more by configuring your IDE to auto complete CodeSpecJs Grammar
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].