[Feat] Framework for running live tests#136
[Feat] Framework for running live tests#136t8y8 wants to merge 4 commits intotableau:developmentfrom
Conversation
|
Overall, it's fine, but we definitely need to build a better infrastructure around storying tests because this is entirely too simple for the amount of tests we will be moving into this system. If you take a look at the current e2e tests for the rest api, you'll see what I mean (I can show you on Monday). Having them all in a single file is not going to be feasible. |
|
That's fairly easy to do if we rely on just environment variables -- then it's just another suite that runs under Some options:
I'm kind of leaning towards 2, which reduces the overhead of this PR to just "Grabbing the env variables and checking in some starter tests" |
|
Subsumed by #176 |
Here's a basic framework for running tests against a live server.
Initial stab.
Open questions:
smoke.py) or split them somehow.I'm thinking 2 files,
smoke.pywhich is safe to run anywhere because it is stateless. And then another set that will create a site, publish, perform various operations, and then delete it when done/cc @RussTheAerialist
EDIT: Running from the command line requires you to have the package installed in development mode, I didn't get into any path manipulation because it's icky and I didn't get it to work right/
pip install -e .is simplier