-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TESTS] Run each test on multiple symbols and testing using a fixed list of symbols #51
Comments
Hey @PythonCreator27, agree completely. Thanks for this! |
I tried expanding the symbols we use for testing by adding a couple of ones with little data, but unfortunately, the tests are now failing. This is a real issue - more in #57. |
## [1.7.2](v1.7.1...v1.7.2) (2021-02-17) ### Bug Fixes * **browser:** mv fetchDevel to _env, fixes issues w/ `ng build` ([#50](#50)) ([7528580](7528580)) * **quote:** add additional properties ([4ab73c1](4ab73c1)) * **quote:** make certain properties optional ([1881bcb](1881bcb)) * **quote:** more optional properties ([#51](#51)) ([631ed45](631ed45)) * **quoteSummary:** more optionality, enum types, to fix tests ([#51](#51)) ([bc47bdf](bc47bdf)) * **types:** more optionality in quoteSummary,search for newer stocks ([b230635](b230635)) * **validate:** stricter nulls, number|null type, better errors ([#51](#51)) ([93dafc6](93dafc6)) * QuoteSummary & Search validation ([28f0487](28f0487))
## [1.7.2](v1.7.1...v1.7.2) (2021-02-17) ### Bug Fixes * **browser:** mv fetchDevel to _env, fixes issues w/ `ng build` ([#50](#50)) ([7528580](7528580)) * **quote:** add additional properties ([4ab73c1](4ab73c1)) * **quote:** make certain properties optional ([1881bcb](1881bcb)) * **quote:** more optional properties ([#51](#51)) ([631ed45](631ed45)) * **quoteSummary:** more optionality, enum types, to fix tests ([#51](#51)) ([bc47bdf](bc47bdf)) * **types:** more optionality in quoteSummary,search for newer stocks ([b230635](b230635)) * **validate:** stricter nulls, number|null type, better errors ([#51](#51)) ([93dafc6](93dafc6)) * QuoteSummary & Search validation ([28f0487](28f0487))
## [1.7.2](v1.7.1...v1.7.2) (2021-02-17) ### Bug Fixes * **browser:** mv fetchDevel to _env, fixes issues w/ `ng build` ([#50](#50)) ([7528580](7528580)) * **quote:** add additional properties ([4ab73c1](4ab73c1)) * **quote:** make certain properties optional ([1881bcb](1881bcb)) * **quote:** more optional properties ([#51](#51)) ([631ed45](631ed45)) * **quoteSummary:** more optionality, enum types, to fix tests ([#51](#51)) ([bc47bdf](bc47bdf)) * **types:** more optionality in quoteSummary,search for newer stocks ([b230635](b230635)) * **validate:** stricter nulls, number|null type, better errors ([#51](#51)) ([93dafc6](93dafc6)) * QuoteSummary & Search validation ([28f0487](28f0487))
Closing as task is done. |
Yayyyy 🎉 Thanks, @PythonCreator27. As I said in your PR, these were a massive help to me and of course all the other consumers of the library. So thanks again for all your time and effort here. |
Running each
it()
block on several symbolsRunning each
it()
block on more symbols would definitely increase the accuracy of tests, as certain stocks return some things, and some don't.TODO
it.each()
instead oftestSymbols.forEach()
with extradescribe
blocks (chore(tests): switch from using forEach to using it.each #53)symbols.ts
file (chore(tests): add more symbols to symbols.ts #58)it.each()
instead ofit()
alone (run tests on multiple symbols) everywhere (chore(tests): use it.each with testSymbols for several test suites #63, more coming)Benefits
We get added checking of validation, so we don't get things like #46 again. We can also check that the modules work properly for several different symbols.
The text was updated successfully, but these errors were encountered: