add unit test doc

pull/7/head
yann300 6 years ago
parent 7e9dfe1afe
commit 8480f2eb08
  1. BIN
      docs/images/remix_unittest.png
  2. 1
      docs/index.rst
  3. 24
      docs/unittesting_tab.md

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

@ -44,6 +44,7 @@ Userful links:
run_tab
udapp
contract_metadata
unittesting_tab
.. toctree::
:maxdepth: 2

@ -0,0 +1,24 @@
Unit Testing
============
The unit testing tab allows to run unit testing.
![image](images/remix_unittest.png)
Generate test File
------------------
This create a new solidity file in the current folder suffixed with `_test`.
This file contains the minimun you need for running unit testing.
Run Tests
---------
This execute tests. The execution is run in a separate environment and the result is displayed below.
Continuous integration
----------------------
remix-tests is also a CLI, it can be used in a continuous integration environement which support node.js.
Please find more information
https://github.com/ethereum/remix/tree/master/remix-tests
Loading…
Cancel
Save