Gathering detailed insights and metrics for nightwatch
Gathering detailed insights and metrics for nightwatch
Gathering detailed insights and metrics for nightwatch
Gathering detailed insights and metrics for nightwatch
@nightwatch/html-reporter-template
Nightwatch HTML reporter template
@vue/cli-plugin-e2e-nightwatch
e2e-nightwatch plugin for vue-cli
@nightwatch/nightwatch-inspector
Nightwatch Inspector that allows you to tests command directly from the browser
@percy/nightwatch
Nightwatch client library for visual testing with Percy
Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack
npm install nightwatch
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
11,847 Stars
2,869 Commits
1,339 Forks
254 Watching
24 Branches
132 Contributors
Updated on 27 Nov 2024
JavaScript (95.88%)
TypeScript (3.74%)
EJS (0.3%)
Gherkin (0.05%)
Vue (0.03%)
Cumulative downloads
Total Downloads
Last day
12%
34,353
Compared to previous day
Last week
19.2%
176,033
Compared to previous week
Last month
15.6%
700,717
Compared to previous month
Last year
-21.8%
7,632,032
Compared to previous year
34
1
Nightwatch is an integrated testing framework powered by Node.js and using the W3C Webdriver API. It is a complete testing solution developed at BrowserStack and which can be used for:
☑️ end-to-end testing of web applications and websites
☑️ component testing in isolation (React / Vue / Storybook / Angular)
☑️ Node.js unit, visual regression testing, accessibility testing & API testing
☑️ Native mobile app testing on Android & iOS
What's New | Release Notes | Discussions
Nightwatch v3 is an all new generation that has been built around these three pillars:
Developer Experience : The entire experience from getting started, to writing and debugging tests, has been redesigned for speed, stability, and consistent non-flaky results.
Mobile first: Test your web or native, iOS and Android, mobile applications on simulators, real mobile devices or a cloud grid like BrowserStack.
One test automation framework: Run all types of tests from unit, component, and E2E to API, visual, and accessibility with a single framework.
The Nightwatch v3 is not just a new version, it’s the result of months of engineering effort to reimagine test automation for the future. Try it out in 60 seconds and see it in action.
From your existing project's root dir:
1npm init nightwatch@latest
or, if you want to initialize a new project:
1npm init nightwatch@latest ./path/to/new/project
Nightwatch will do the entire setup for you based on your answers.
Nightwatch comes with a few examples, which are automatically copied to your Nightwatch project during the setup and can also be used as boilerplate to write your own tests on top of them.
You can follow the instructions given at the end of the setup to run your first test with Nightwatch.
Nightwatch enables automation testing of native mobile applications via Appium. It combines the robustness of Appium with the enhanced developer experience provided by Nightwatch. It enables end-to-end functional testing of native mobile apps on Android and iOS devices. Try it now
With Nightwatch you can test components in isolation by mounting them in the browser. Nightwatch 2 added support for component testing for popular web frameworks such as
The tests for Nightwatch are written using Mocha.
Clone the project
1git clone https://github.com/nightwatchjs/nightwatch.git 2 3# change directory 4cd nightwatch 5 6# install the dependencies 7npm install
Run tests
To run the complete test suite:
1npm test
To check test coverage, run the command:
1npm run mocha-coverage
and then open the generated coverage/index.html file in your browser.
See Unit testing guide for more details.
Nightwatch v3 introduces visual regression testing as an in-house plugin. The plugin takes care of
VRT can be done on real desktop & mobile browsers. Also, VRT can be run on components as part of component testing as well.
API testing is now available with Nightwatch v3. The following functionality can be achieved with API testing
Nightwatch v3 packages the aXe-core package developed by Deque Systems as a plugin. It enables 90 different types of accessibility tests for WCAG compliance.
Nightwatch was initially built by @pineviewlabs - an independent software consultancy based in Oslo, Norway, with help from contributors. In mid 2021, Nightwatch has become a part of the @BrowserStack family and it is being developed further at the BrowserStack Open-source Program Office. Read more on our blog.
We welcome any and all contributions from the community which can help improve Nightwatch. Please check out CONTRIBUTING.md for more extensive contributing guidelines.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
30 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
4 existing vulnerabilities detected
Details
Reason
Found 7/30 approved changesets -- score normalized to 2
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More