Skip to content

Add initial client unit test. - #4527

Merged
ErisDS merged 1 commit into
TryGhost:masterfrom
rwjblue:unit-tests
Nov 27, 2014
Merged

ErisDS merged 1 commit into
TryGhost:masterfrom
rwjblue:unit-tests

Conversation

@rwjblue

@rwjblue rwjblue commented Nov 27, 2014

Copy link
Copy Markdown
Contributor

Adds basic client unit testing setup using ember-mocha.

There are many example blueprints for unit tests using ember-cli-mocha here. These are written for Ember CLI, but apply nearly the same here.

My hope is that this is just the beginning of many unit tests for the admin client.


Running testem in the root of the project brings up the testem runner:

screenshot

Navigating to http://localhost:7357/core/test/client/index.html then shows the browser tests:

screenshot

Addresses #2990.


p.s. Sorry it took me so long...

Comment thread Gruntfile.js

This comment was marked as abuse.

@jaswilli

Copy link
Copy Markdown
Contributor

Awesome. 🎉

@ErisDS

ErisDS commented Nov 27, 2014

Copy link
Copy Markdown
Member

So much epic 🎊 🎈 🍰

@rwjblue THANK YOU soooooooo much for taking the time to do this 😁
@jaswilli I totally agree - but I think this is going to be the trigger for a few restructuring changes to the tests and we can do that separately :)

ErisDS added a commit that referenced this pull request Nov 27, 2014
Add initial client unit test.
@ErisDS
ErisDS merged commit 1db30f8 into TryGhost:master Nov 27, 2014
@rwjblue
rwjblue deleted the unit-tests branch November 27, 2014 12:26
@ErisDS ErisDS mentioned this pull request Dec 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants