Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Start testing docs & guidelines #10

Open
7 tasks
maybeec opened this issue May 24, 2016 · 4 comments
Open
7 tasks

Start testing docs & guidelines #10

maybeec opened this issue May 24, 2016 · 4 comments

Comments

@maybeec
Copy link
Member

maybeec commented May 24, 2016

We should start the testing docs soon covering at least

  • Principles
    • TDD (test-driven development)
    • DO's and DONT's
  • TDD in AngularJS2
    • how to implement tests (conventions / DO's and DONT's)
    • running tests / uncommenting tests
    • karma configuration tweeks for TDD
  • Short overview of technologies and configuration files
    • karma
    • istanbul + mocha + coveralls
@jhcore
Copy link
Collaborator

jhcore commented May 30, 2016

I'm working on this here https://github.com/jhcore/oasp4js-rev/wiki/guide-testing maybe you can check it

@MarcoRose
Copy link

Please be aware that there is a team working on a server side test concept using spring test + reference solution in OASP. Please ask Jonas Molina-Ramirez

@cbeldacap
Copy link
Collaborator

cbeldacap commented Aug 25, 2016

I'm getting into jasmine testing of the sample-app components and services. I'll create some tests for:

-- *.service.ts
-- *.component.ts without injected services
-- *.component.ts with injected services

I'm following this (posts, articles, webinars...), although I'll port more links and info:

@cbeldacap
Copy link
Collaborator

With the release of Angular 2.0.0, all guides in www.angular.io have been updated. The testing one offers the chance to create test where services, routers and so on are injected.

Still getting into it. The most part of the components of the sample-app meet so many of the testing criteria.

https://angular.io/docs/ts/latest/guide/testing.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants