Skip to content

Consider creating new test bed to encapsulate test injector and test component builder #7266

Closed

Description

@juliemr

cc @vikerman

The goal would be to reduce coupling with specific test frameworks (i.e. Jasmine and dart package:test or package:unittest) and reduce boilerplate around TCB.

Potentially this could also control fakeAsync, and encapsulate the test zones.

The intent would be a public API that could be used for someone interested in testing in another framework (e.g. Mocha) or testing without our Jasmine wrappers.

Activity

  1. added
    area: testingIssues related to Angular testing features, such as TestBed
    on Feb 24, 2016
  2. self-assigned this
    on Feb 25, 2016
  3. juliemr commented on Apr 20, 2016

    @juliemr
    ContributorAuthor

    At this point, most of the logic exists in the ZoneSpecs (https://github.com/angular/zone.js/tree/master/lib/zone-spec) or in test_injector (https://github.com/angular/angular/blob/master/modules/angular2/src/testing/test_injector.ts)

    There's probably still some more cleanup that we could do, but this isn't blocking RC anymore. Removing milestone.

  4. removed this from the Angular 2 Release Candidate milestone on Apr 20, 2016
  5. juliemr commented on Apr 27, 2016

    @juliemr
    ContributorAuthor

    This is pretty much done with #8257. After this, it would be very simple for someone to make an adapter for any framework other than Jasmine.

  6. juliemr commented on Jul 1, 2016

    @juliemr
    ContributorAuthor

    As of RC4, we consider this complete. #9740 will do the final rename.

  7. angular-automatic-lock-bot commented on Sep 8, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  8. locked and limited conversation to collaborators on Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: testingIssues related to Angular testing features, such as TestBed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions