angular-docs-cn/tools/testing
Alex Rickabaugh ab5bc42da0 feat(ivy): first steps towards ngtsc mode (#23455)
This commit adds a new compiler pipeline that isn't dependent on global
analysis, referred to as 'ngtsc'. This new compiler is accessed by
running ngc with "enableIvy" set to "ngtsc". It reuses the same initialization
logic but creates a new implementation of Program which does not perform the
global-level analysis that AngularCompilerProgram does. It will be the
foundation for the production Ivy compiler.

PR Close #23455
2018-04-25 13:25:33 -07:00
..
BUILD.bazel feat(ivy): first steps towards ngtsc mode (#23455) 2018-04-25 13:25:33 -07:00
README.md feat(ivy): first steps towards ngtsc mode (#23455) 2018-04-25 13:25:33 -07:00
init_browser_spec.ts
init_node_no_angular_spec.ts feat(ivy): first steps towards ngtsc mode (#23455) 2018-04-25 13:25:33 -07:00
init_node_spec.ts feat(core): add task tracking to Testability (#16863) 2018-03-14 08:48:48 -07:00

README.md

The spec helper files here set up the global testing environment prior to the execution of specs.

There are 3 options:

  • init_node_spec - configures a node environment to test Angular applications with platform-server.
  • init_node_no_angular_spec - configures a node environment for testing without setting up Angular's testbed (no dependency on Angular packages is incurred).
  • init_browser_spec - configures a browser environment to test Angular applications.