An open API service indexing awesome lists of open source software.

https://github.com/nervosnetwork/neuron-automation

Test automation toolkit for Neuron
https://github.com/nervosnetwork/neuron-automation

Last synced: 9 months ago
JSON representation

Test automation toolkit for Neuron

Awesome Lists containing this project

README

          

# neuron-automation

UI automation tests for [Neuron Wallet](https://github.com/nervosnetwork/neuron/releases).

` Note: currently support better for Windows version.`

## Prerequisites

* Java
* Maven

## Running the tests
Before running test:
1. copy the [neuronConfig.yml.sample](neuronConfig.yml.sample) file to `neuronConfig.yml` .
2. make sure to update the `ckbPath` and `nodePath` in the `neuronConfig.yml` file.

Run system/send transaction tests:
```$xslt
make system-test # running regression tests.
```
or:
```$xslt
scripts\neuron.sh system-test # running regression tests.
```

## Coding Style
We use "Google Java Style Guide" as coding style guide:

* Official: https://google.github.io/styleguide/javaguide.html
* Chinese version: https://jervyshi.gitbooks.io/google-java-styleguide-zh/content/

### Installing the coding style settings in Intellij

1. Download the [intellij-java-google-style.xml](https://raw.githubusercontent.com/google/styleguide/gh-pages/intellij-java-google-style.xml) file from the http://code.google.com/p/google-styleguide/ repo.
2. go into Preferences -> Editor -> Code Style. Click on Manage and import the downloaded Style Setting file. Select GoogleStyle as new coding style.