add a stylus document that imports something with a local path to tests #7

Merged
merged 1 commit into from Mar 4, 2012

Conversation

Projects
None yet
2 participants
@jmars

jmars commented Mar 4, 2012

Sorry about the other pull request, I wasn't sure whether I was going to continue with some changes or not.

I added a stylus document that imports the current style.styl test document using a local path to the test app, the app fails to load if the import fails and causes a bunch of other failures. Not that great, but passes if imports are working. Trying to think of a better way to test specifically.

@epeli epeli merged commit c20491b into epeli:master Mar 4, 2012

@epeli

This comment has been minimized.

Show comment Hide comment
@epeli

epeli Mar 4, 2012

Owner

Yeah, testing stylesheets is kinda hard. Currently I just use a basic web page where the styles hide some elements. It works fine, but you have to manually view the page to confirm that they pass (31ae5f8). Currently it seems to be impossible to write automatic test with Zombie.js for it.

Maybe PhamtomJS would do better here.

Owner

epeli commented Mar 4, 2012

Yeah, testing stylesheets is kinda hard. Currently I just use a basic web page where the styles hide some elements. It works fine, but you have to manually view the page to confirm that they pass (31ae5f8). Currently it seems to be impossible to write automatic test with Zombie.js for it.

Maybe PhamtomJS would do better here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment