3f8fd6ac3d
Syntax Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
* feat: support new OrderType in TastytradeBrokerageModel * feat: extension GetGroupQuantity * refactor: WaitOneAssertFail to return bool * refactor: GetOpenOrders in BrokerageTests * feat: display holdings when begin/end test run * refactor: brokerageTest class to support handle combo order feat: comboOrderTestParameters feat: tastytrade option strategy algo * refactor: Tastytrade Algo BullCallSpread * feat: Bull/Bear-CallSpread test cases in BrokerageTests feat: ComboLimitOrderTestParameters * fix: remove static in ComboLimitOrderTestParameters of ExpectedStatus * feat: restrict submit combo limit cross zero orders in Tastytrade test:feat: submit combo limit cross zero test cases in tastytrade * test:fix: missed test helper to c9907b23 * refactor: GetGroupQuantityByEachLegQuantity feat: overload GreatestCommonDivisor test:feat: GetGroupQuantityByEachLegQuantity * test:feat: extra test cases to GetGroupQuantity to 925c214a * test:refactor: take out Cancel Status update in HandleEvents() * feat: prop Direction in Leg * Revert "feat: prop Direction in Leg" This reverts commit 4f92f97b630a157d3972c2321473d87c330c26c8. * refactor: ComboLimitOrderTestParameters * test:refactor: CancelOrders * test:feat: add missed xml description * test:feat: support ModifyUntilFilled Combo orders * test:feat: Long/Short-Combo unit tests * test:fix: compare all status if it is combo order type * test:refactor: applyOrderUpdate in gracefully way in LimitOrderTestParameters * remover: Tastytrade algo * test:feat: create new BaseOrderTestParameters with helper methods test:rename: method in ComboOrderTestParameters test:remove: duplication
QuantConnect Testing
Before starting any testing, follow the installation instructions to get LEAN running C# algorithms in your machine. For any Python related tests please ensure you have followed the setup as described here.
If the above installation, build, and initial run was successful than we can move forward to testing.
Visual Studio:
Locating Tests
- Open Visual Studios
- Open Test Explorer ("Test" > "Test Explorer")
- The list should populate itself as it reads all the tests it found during the build process. If not, press "Run All Tests" and let VS find all of the tests.
- From here select the tests you would like to run and begin running them.
Failed Test Logs
- On a failed test, check the test for information by clicking on the desired test and selecting "Open Additional Output"
- This will show the stack trace and where the code failed to meet the testing requirements.
Common Problems
Having .NetFramework issues with testing?
- Install NUnit3TestAdapter for VS
Missing dependencies for Python Algorithm?
- Use pip or conda to install the module.