-
Notifications
You must be signed in to change notification settings - Fork 98
Add end-to-end tests for command-line interface #199
Conversation
Thanks for getting started on this, @MaxDesiatov. I agree with your instinct to start with a shell script for this. Given that the primary offering of |
Sure, let's do that. I'll update the PR accordingly 👍 |
@mattt ready for review 🙂 |
@MaxDesiatov Nice! Taking a look now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few suggested changes for your consideration. Would it be alright if I iterate on this some more this morning, and add some more test cases (e.g. to handle CSS and HTML formats)?
Co-authored-by: Mattt <mattt@me.com>
Sure, please do! |
Create helper methods on Process and Bundle
Co-authored-by: Max Desiatov <max@desiatov.com>
@MaxDesiatov Any last changes before this gets merged? |
LGTM, thank you for finishing this up! |
Can I merge this now? Do you prefer merge commits or linear history by the way? |
@MaxDesiatov I like to squash and merge PRs. Feel free to do the honors of hitting that green button 😄 (and thanks again for your help with this!) |
all.css
contains a valid CSS selector
Verifies that generated
all.css
contains the:root
string on CI. It doesn't do any actual CSS parsing to verify its full validity, only does a simplegrep
check, but I hope this will be enough to prevent issues like #198 in the future.