Skip to content

Commit d4335e6

Browse files
authored
Merge pull request #67 from leifwells/master
Updated README formatting, added link to tutorial
2 parents 8bfe80d + 2547524 commit d4335e6

File tree

1 file changed

+25
-21
lines changed

1 file changed

+25
-21
lines changed

README.md

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
Ionic Unit Testing Example
2-
=====================
1+
# Ionic Unit Testing Example
32

43
This repository is an example project that gives guidance on setting up your Ionic application for unit testing and end-to-end (E2E) testing. We have been told the folks at Ionic will be adding testing features to new projects in the future. But until then, feel free to borrow from this project as needed.
54

65
Special thanks to all of the contributors. With the exception of the Ionic team's updates to the framework, this project is stable. If you have a suggestion, feel free to update code and make a pull request. Find a problem or bug, feel free to file a detailed issue.
76

8-
UPDATES:
9-
--------
7+
## UPDATES:
108
### **2017-08-26: Update to `ionic-angular` version 3.6.0**
119

1210
We updated the project to `ionic-angular` version `3.6.0`. Developers wishing to use this should also update Ionic CLI for a better experience. With today's update, this project is now at version `0.0.5`.
@@ -21,6 +19,25 @@ Thanks to [@datencia](https://github.com/datencia) for providing an update to ou
2119

2220
Thanks (again) to [@danielsogl](https://github.com/danielsogl/) for providing a code update to the project so that our code matches code created by using the `ionic start` command. Having this code properly match is important as it provides the best practice guidance for handling application start up.
2321

22+
## How to Configure Your Ionic Application for Testing
23+
----------
24+
25+
Read [this tutorial](https://leifwells.github.io/2017/08/27/testing-in-ionic-configure-existing-projects-for-testing/) for instructions on how to apply the testing configuration in this project to your own project.
26+
27+
## Looking for Version 2?
28+
----------
29+
30+
If you are using Ionic v2, please see our [ionic-v2-branch](https://github.com/ionic-team/ionic-unit-testing-example/tree/ionic-v2-branch).
31+
32+
33+
## Credits
34+
----------
35+
36+
This repository is based on the awesome [unit testing example](https://github.com/roblouie/unit-testing-demo) from [@roblouie](https://github.com/roblouie/) :thumbsup:
37+
38+
## Past Changes
39+
---------
40+
2441
### *2017-05-28: Update to Version 3.3.0*
2542

2643
Thanks to [@danielsogl](https://github.com/danielsogl/) for getting us up-to-date with Ionic 3.3.0, Angular 4.1.2 and Ionic Native 3.10.2.
@@ -40,31 +57,18 @@ npm install -g ionic
4057
```
4158
If you run `ionic -v` it should return `3.0.0` (or better, depending on what has been released.
4259

43-
Looking for Version 2?
44-
----------------------
45-
46-
If you are using Ionic v2, please see our [ionic-v2-branch](https://github.com/ionic-team/ionic-unit-testing-example/tree/ionic-v2-branch).
47-
48-
49-
Credits
50-
=====================
51-
52-
This repository is based on the awesome [unit testing example](https://github.com/roblouie/unit-testing-demo) from [@roblouie](https://github.com/roblouie/) :thumbsup:
53-
54-
Getting Started
55-
===============
60+
## Getting Started
61+
-----------
5662

5763
To get started, clone this repo, and run `npm install` in the root directory.
5864

59-
Unit Tests
60-
----------
65+
### Unit Tests
6166

6267
To run the tests, run `npm test`.
6368

6469
See the example test in `src/app/app.component.spec.ts` for an example of a component test.
6570

66-
End-To-End Tests (Browser-Only)
67-
-------------------------------
71+
### End-To-End Tests (Browser-Only)
6872

6973
To serve the app, run `ionic serve`.
7074

0 commit comments

Comments
 (0)