Commit 446c463
authored
SWI-1771 Add Unit Tests (#103)
* update spec and use 6.6
* changes we'd need to automate
* newline in readme
* remove config tests
* revert config back to working version
* regenerate with v6.5.0
* fix other files
* dont try to clean up calls since voice api is slow
* update spec
* add custom templates and update readme badge
* update test workflow name
* add openapitools
* add sdk update workflow
* add config test file and fix it
* update config test
* update integration tests
* Revert "update integration tests"
This reverts commit 77545d9.
* add client option to rakefile
* update version logic and ignore file
* remove unnecessary env vars from build wf
* revert version change
* remove unnecessary spec_helper imports
* lots of small changes based on rubocop linting
* update custom templates
* add rubocop badge to README
* add gem version badge to readme
* remove unnecessary deploy action
* update codeowners
* update workflows
* add gem version env var to test wfs
* remove newlines from bxml tests
* unit tests for acc stats
* comment
* fix eventTime data type
* answer callback tests and improve
* bridge callback and improve
* bridge target
* enum tests
* test desc
* delete unused spec files for unit tests
* update message time to be date-time
* add suite of encompassing unit tests
* update gitignore
* fix small logic error in bxml library
* calls_api unit tests
* remove unnecessary require
* update calls tests to be better and add conferences tests
* add webmock
* move 4xx tests to client suite
* skip all integration tests
* skip 4xx tests for now (TODO: fix these)
* rubocop linting for calls and conferences
* add comment to document test skips
* spacing
* fix hashes
* media tests
* remove unnecessary flag from media integration
* rubocop doesnt like my newline
* add argument error tests to media
* reorganizing
* recordings tests
* update list message item receive time
* messages tests
* add argument error tests to messages
* fix expects
* update messages
* mfa tests
* i can test basic auth in the client, not needed in apis
* assert arrays
* be_a -> be_instance_of
* tnlookup tests
* statistics tests
* add gems to Gemfile and template
* bring back statistics integration tests
* bring back mfa
* remove json dep
* tnlookup
* enforce single quotes
* more quotes changes
* single quotes
* media
* add string interpolation rule
* quotes in tests
* dont do config
* exclude files from rubocop
* ignore rubocop
* messages
* calls
* newline
* assertion cleanup
* conferences
* consistency
* recordings
* update model tests
* start on client tests
* configuration tests
* small changes
* update openapi-generator-ignore to ignore all tests
* update error checking
* error checking
* lots of client tests
* lowercase require?
* use @uri
* refactor to use let
* use let for rest of unit tests
* use let
* final client tests
* use let in integration tests
* rubocop save me
* rubocop newlines around blocks
* add ApiError tests
* no longer need to install hub
* update unit tests
* finalize workflow
* add limitTotalCount (new msg param)1 parent 6f3eab7 commit 446c463
File tree
298 files changed
+3090
-7638
lines changed- .github/workflows
- .openapi-generator
- custom_templates
- docs
- lib/bandwidth-sdk
- api
- models
- bxml
- verbs
- spec
- api
- integration
- models
- bxml
- verbs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
298 files changed
+3090
-7638
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
107 | | - | |
| 105 | + | |
108 | 106 | | |
109 | 107 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
7 | 5 | | |
8 | 6 | | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
108 | 111 | | |
109 | 112 | | |
110 | 113 | | |
111 | | - | |
112 | | - | |
113 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
114 | 125 | | |
115 | 126 | | |
116 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
| |||
1237 | 1238 | | |
1238 | 1239 | | |
1239 | 1240 | | |
1240 | | - | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
1241 | 1244 | | |
1242 | 1245 | | |
1243 | 1246 | | |
| |||
1281 | 1284 | | |
1282 | 1285 | | |
1283 | 1286 | | |
| 1287 | + | |
1284 | 1288 | | |
1285 | 1289 | | |
1286 | 1290 | | |
| |||
1411 | 1415 | | |
1412 | 1416 | | |
1413 | 1417 | | |
| 1418 | + | |
1414 | 1419 | | |
1415 | 1420 | | |
1416 | 1421 | | |
| |||
3860 | 3865 | | |
3861 | 3866 | | |
3862 | 3867 | | |
| 3868 | + | |
3863 | 3869 | | |
3864 | 3870 | | |
3865 | 3871 | | |
3866 | 3872 | | |
| 3873 | + | |
3867 | 3874 | | |
3868 | 3875 | | |
3869 | 3876 | | |
| |||
4952 | 4959 | | |
4953 | 4960 | | |
4954 | 4961 | | |
| 4962 | + | |
| 4963 | + | |
| 4964 | + | |
| 4965 | + | |
| 4966 | + | |
| 4967 | + | |
| 4968 | + | |
| 4969 | + | |
| 4970 | + | |
| 4971 | + | |
| 4972 | + | |
| 4973 | + | |
| 4974 | + | |
4955 | 4975 | | |
4956 | 4976 | | |
4957 | 4977 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
0 commit comments