lark: Add real-server integration tests
Fixes: #60 (closed)
Local Checklist
-
Read our Contributing guide (for newcomers) -
Tests written and passing locally? -
Code style checked? -
QA-ed locally? -
Rebased with master
branch? -
Configuration updated (if needed)? -
Documentation updated (if needed)?
What does this Merge Request do?
Setup a test suite for integration tests hitting a real server over HTTP.
We use capybara_discoball
which makes it easy for us to stand up a server in
the context of our test suite. Tests then hit the server with requests using
Net::HTTP
(included in Ruby core).
Our test infrastructure is arranged to avoid starting the server repeatedly when more tests are added.
The initial spec represents work we demoed at the end of Sprint 1.
Committed with @tchu1.
Why are we doing this? Any context of related work or Epic?
References #60 (closed)
Where should a reviewer start?
Take a look at spec/integration
.
Several proposed modifications to the surfliner
base style guide are included.