Comments (5)
Hi Natalie,
Were some tests actually run?
The results from that test run are copied to a unique file (named with a guid as per your log) but then split into separate xml files for each test codeunit under the Results folder. The .xml file is then deleted.
The only reason I can think of for not storing the results is that there weren't any results to store. Did you publish your app before running the tests?
from al-test-runner.
Apologies, I have to blame myself. There are two conflicting parties :)
My test app is coded in a way that whenever you install it (hence on each publish), a specific Test Suite is deleted, created and filled with all my own test functions. No need to "Get Test Codeunits" manually.
The AL Test Runner tries to run the test in the very same Test Suite like my test app initialization process = conflict. My app deletes your results right away.
When I comment out my Test Suite initialization process, your app works as intended.
The actual solution would be to let the AL Test Runner use another Test Suite. Could you provide an optional setting for choosing a specific Test Suite name?
from al-test-runner.
Yes, you can open the config.json and supply the test suite name.
Although, there shouldn't be any need for install code to populate a test suite (if you are using BC15 or later)? If you use the AL Test Tool page and paste your extension ID the tests will be discovered from your extension (that's how the PowerShell runner finds and executes the tests).
from al-test-runner.
Uh, the config.json :-) I should have found that myself.
I am using BC 16.
What do you mean with "pasting my extension ID" when using the AL Test Tool page? Where and when to paste?
from al-test-runner.
Sorry, I meant "Command Line Test Tool" not "AL Test Tool". There is a field on that page you can paste your extension id from app.json into.
from al-test-runner.
Related Issues (20)
- Namespaces HOT 3
- Issue finding tests when long HandlerFunctions line or test name
- FileSystemWatcher not firing events HOT 1
- Renaming test codeunit does not rediscover tests
- Code Coverage in Proecedures shows 0% HOT 2
- Support for VSC workspaces (launch.json) HOT 2
- Unable to execute test from VS Code HOT 11
- Error: Cannot set properties of undefined HOT 1
- CodeLense for Test coverage and Code coverage HOT 1
- Install Test Runner Service: support for VSC workspaces (launch config)
- Extension does not load at all - Cannot find module './codeCoverage' HOT 2
- ERROR DIALOG: One or more errors occurred while closing the page HOT 1
- [BC24] Downloading Performance Profile or Code Coverage results in a timeout HOT 6
- ObjectDeclarationFromDocument search range should be extended
- Invoke-ALTestRunner uses wrong webservice port for internal calls HOT 2
- Invoke-ALTestRunner: command not found HOT 3
- Cannot open page 130455 HOT 1
- Implement CodeCoverage API
- Show Table Data doesn't work with SOAP endpoint
- Copy of code coverage file from wrong path?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from al-test-runner.