Skip to content

scripterio-js/scripterio-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scripterio-example

This repository provides simple examples of how to perform unit and UI testing using ScripterI/O.

Features

  • Unit tests: Demonstrates various assertions and async testing with ScripterI/O.
  • API tests: Demonstrates how to perform API tests with ScripterI/O.
  • UI tests: Shows how to use Playwright with ScripterI/O for browser automation.

Getting Started

Prerequisites

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/scripterio-example.git
    cd scripterio-example
  2. Install dependencies:
    npm install
  3. Install Playwright browsers:
    npx playwright install chromium --with-deps

Running Tests

To run all tests:

npm run test

or:

npx scripterio --folder=tests

Project Structure

  • tests/api_tests.js – API test examples
  • tests/unit_tests.js – Unit test examples
  • tests/ui_tests.js – UI test examples using Playwright

About

Various examples of how to perform unit, API, and UI testing using ScripterI/O.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published