status-go/geth/jail/internal
Adam Babik 281b304edb Extract e2e tests to a separate package (#375)
This change moves our e2e tests into a separate package to make room for proper unit and integration tests.

This is Phase 1 described in #371.

Changes:

Makefile has separate directives to run unit/integration tests and e2e tests,
CI runs unit/integration tests first and then e2e tests,
E2e tests are in reliability order, i.e. the least reliable tests are run in the end to be sure that nothing else is broken,
Some tests are fixed or quarantined.
2017-10-11 17:20:51 +03:00
..
fetch Extract e2e tests to a separate package (#375) 2017-10-11 17:20:51 +03:00
loop Extract e2e tests to a separate package (#375) 2017-10-11 17:20:51 +03:00
process Add FetchAPI support and fix loop race [upd] #289 (#293) 2017-09-08 14:55:17 +03:00
promise Extract e2e tests to a separate package (#375) 2017-10-11 17:20:51 +03:00
timers Extract e2e tests to a separate package (#375) 2017-10-11 17:20:51 +03:00
vm Refactor and cleanup Jail (#368) 2017-10-06 19:52:26 +03:00
LICENSE.md Add FetchAPI support and fix loop race [upd] #289 (#293) 2017-09-08 14:55:17 +03:00
README.md Add FetchAPI support and fix loop race [upd] #289 (#293) 2017-09-08 14:55:17 +03:00
main.go Add FetchAPI support and fix loop race [upd] #289 (#293) 2017-09-08 14:55:17 +03:00

README.md

ottoext

Originally based on github.com/deoxxa/ottoext

GoDoc

Overview

This package contains some extensions for the otto JavaScript interpreter. The most important extension is a generic event loop based on code from natto. The other extensions are setTimeout and setInterval support, Promise support (via native-promise-only, MIT license), and fetch support.

Examples

Take a look at the test files to see how the extensions work.

License

3-clause BSD. A copy is included with the source.