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

How to write tests? #4

Open
felippenardi opened this issue May 1, 2015 · 5 comments
Open

How to write tests? #4

felippenardi opened this issue May 1, 2015 · 5 comments

Comments

@felippenardi
Copy link

Thanks for the initiative! I'd love to discover a good workflow to do TDD in Angular2 typescript. Can you add an example?

@johnjelinek
Copy link

I've had some success using karma/jasmine/gulp to do TDD w/ TypeScript. Let me know if you'd like to see a boilerplate repo I have, maybe I can modify it and submit a PR.

@felippenardi
Copy link
Author

@johnjelinek I'd love to see a boilerplate! Wouldn't ask you to submit a PR—unless you feel like doing it—because I'm just starting learning about it.

Can you show me the boilerplate?

@johnjelinek
Copy link

My boilerplate relies on tsc through gulp to transpile the JS to ES5 and karma just tests normal ES5 code. The tests and source are written in typescript though. I'm deciding if it's valuable to have a client-side transpiled version using the latest SystemJS w/ typescript client transpilation.

@danh91
Copy link

danh91 commented Sep 10, 2015

I would be happy to see that boilerplate.
Thanks

@johnjelinek
Copy link

OK, I'll get it ready to be published. I'll see if I can upgrade the version of ng2 too.


Sent from Mailbox

On Thu, Sep 10, 2015 at 6:10 AM, Dan [email protected] wrote:

I would be happy to see that boilerplate.

Thanks

Reply to this email directly or view it on GitHub:
#4 (comment)

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

No branches or pull requests

3 participants