Commit 96546fe
authored
fix(api): add integration tests
BREAKING CHANGE: two method signatures and one property name have changed.
**Objects & Properties**
1. readmeInspector.ReadmeScore - refactor:rename ReadmeScore ➡️ ReadmeAppraisal
2. module:readme-inspector/readme-score - refactor:rename 'ReadmeScore'
module:readme-inspector/readme-appraisal 'ReadmeAppraisal', which is now
a class.
**Functions**
1. getReadmeInfo
1.1. Function name - refactor:rename ➡️ getInfo
1.2. Function signature - now expects a params object literal
2. getReadmeScore
2.1. Function name - refactor:rename ➡️ getAppraisal
2.2. Function signature remains the same as in 1.x.x.
3. check's signature now expects a params object literal,
which it passes to getInfo.
**API tests**
Add API (integration) tests to verify appraisal initialization.
1. Create the lib/__apis__/ directory
2. Add Jest/Jasmine specs without mocks
3. Invoke real APIs for results
**CI**
1. Create four ENV variables on Appveyor.
2. Customize greenkeeper commit messages
**Documentation**
- Use commonality branding colors for 'Request a Feature' and
'Report a Defect' badges
- Move DEVELOPERS.md user the /docs/project/ directory
- Add secure variables to for API testing
- Iterate through filepaths with markdown files that require
automated content generation
GH-18,GH-211 parent ad96ea5 commit 96546fe
File tree
128 files changed
+46438
-428
lines changed- .github
- assets/examples
- config
- docs
- api/readme-inspector
- 1.0.2
- fonts
- scripts
- prettify
- styles
- 2.0.0
- fonts
- scripts
- prettify
- styles
- project
- lib
- __tests__
- __apis__
- __fixtures__
- http
- 200
- 404
- __mocks__
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
128 files changed
+46438
-428
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
601 | | - | |
602 | | - | |
| 601 | + | |
| 602 | + | |
603 | 603 | | |
604 | 604 | | |
605 | 605 | | |
| |||
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
614 | | - | |
| 614 | + | |
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
| |||
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
652 | | - | |
| 652 | + | |
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
5 | 46 | | |
6 | 47 | | |
7 | 48 | | |
| |||
14 | 55 | | |
15 | 56 | | |
16 | 57 | | |
| 58 | + | |
| 59 | + | |
17 | 60 | | |
18 | 61 | | |
19 | 62 | | |
| |||
24 | 67 | | |
25 | 68 | | |
26 | 69 | | |
| 70 | + | |
| 71 | + | |
27 | 72 | | |
28 | 73 | | |
29 | 74 | | |
30 | 75 | | |
31 | 76 | | |
32 | 77 | | |
33 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
34 | 81 | | |
35 | 82 | | |
36 | 83 | | |
| |||
47 | 94 | | |
48 | 95 | | |
49 | 96 | | |
50 | | - | |
| 97 | + | |
51 | 98 | | |
52 | 99 | | |
53 | 100 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
58 | 105 | | |
59 | 106 | | |
60 | 107 | | |
61 | | - | |
62 | | - | |
| 108 | + | |
| 109 | + | |
63 | 110 | | |
64 | 111 | | |
65 | 112 | | |
66 | | - | |
67 | | - | |
68 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
69 | 116 | | |
70 | 117 | | |
71 | 118 | | |
72 | | - | |
| 119 | + | |
73 | 120 | | |
74 | 121 | | |
75 | 122 | | |
| |||
0 commit comments