Skip to content

Update - TDD Testing #961

@AbdellaToronto

Description

@AbdellaToronto

TDD Testing

The Testing Toolchain

  • Should Phantom-js be removed?

Test Setup

  • Could the angular2-redux-starter repo be renamed and updated?

Karma Configuration

Executing Test Scripts

  • Update install command to use karma-cli instead?

Testing Components

Injecting Dependencies and DOM Changes

  • Paragraph 3: change “provided” to “provide”
Quote.spec.ts
Overriding Components for Testing
  • Worth mentioning overrideProvider, overrideTemplateUsingTestingModule ?

Testing Services

Testing HTTP Requests

  • Example should import HttpClient

Using MockBackend

  • This whole page should be removed

Using HttpTestingModule

  • Remove reference to angular version?

Testing Redux

Testing Simple Actions

  • Example should make use of @angular-redux/store
  • If this is meant to be testing ngrx actions/reducers, could the example use @ngrx/store/testing artifacts?
  • Use of jasmine-marbles ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Spring 2021 WorkUpdate - 2021Updates current content in book during the 2021 update, for example, on out of date info

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions