Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Other Things To Do #50

Closed
3 of 5 tasks
jlord opened this issue Aug 30, 2015 · 4 comments
Closed
3 of 5 tasks

Other Things To Do #50

jlord opened this issue Aug 30, 2015 · 4 comments

Comments

@jlord
Copy link
Owner

jlord commented Aug 30, 2015

Not critical, but would be ✨

  • Remember directories Save Directory #47
  • TESTS (Ok, pretty critical)
  • Refactor HTML & scripts for verify buttons. 🐢 #55
  • Separate concerns correctly between helper.js and challenge-completed.js
  • Have the 'Get Started' button change to a 'Finish Where I Left Off' button depending on if they've completed a challenge or not.
@LizzHale
Copy link
Contributor

LizzHale commented Nov 1, 2015

Hi @jlord -- I would love to get involved with this project and could start by setting up testing infrastructure and writing tests. Do you have any preferences for test frameworks? I've been experimenting with writing some unit tests for the lib modules using jasmine but I'm flexible.

@jlord
Copy link
Owner Author

jlord commented Nov 2, 2015

@LizzHale HI!

Getting tests going would be amazing! In general I prefer the lightest weight infrastructure as possible and have used tap/tape.

I'm sure that some of my code may need to be restructured—and that's OK, I want it to be better—so that each thing to be tested can be just be required in the test file, run with tape and output compared.

The first, most important things, in my mind, are the verify scripts themselves. This is where the most problems occur. This can also be tricky because many require requests but I'd been thinking it would be nice to have sample data for some of the GitHub requests to use so that tests can still work offline and without needing access to an account.

I'd love to hear your thoughts!

@LizzHale
Copy link
Contributor

LizzHale commented Nov 3, 2015

Thanks for the guidance! I've used TAP implementations for other languages but didn't realize one existed for JavaScript.

I'd been thinking it would be nice to have sample data for some of the GitHub requests to use so that tests can still work offline and without needing access to an account.

Agreed! I'll start experimenting and see if I can't come up with something that'll work for the verify scripts.

@jlord
Copy link
Owner Author

jlord commented May 13, 2016

Closing this out because these other things can just be their own issue 🍕

@jlord jlord closed this as completed May 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants