test/

directory
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2018 License: MIT

README

GopherJS Protobuf binding automated tests

Synopsis

We have Qunit tests written in the GopherJS client in ./client/. We have a server running the gRPC backend and hosting the GopherJS client in ./server/. We have a Chromedriver driven browser integration testing setup that loads the GopherJS client page and checks that there were 0 failures, courtesy of ginkgo, gomega and agouti. Simply running ginkgo . starts the server hosting the GopherJS unit test client, loads the page in Chromedriver using agouti, parses the number of failures and if it's anything other than 0, the entire test fails.

Requirements

  • Chromedriver
  • Google Chrome 62+
  • ginkgo (govendor install +program,vendor)

Running

$ make test

Directories

Path Synopsis
proto/test
Package test is a generated protocol buffer package.
Package test is a generated protocol buffer package.
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL