fleid / asa.unittest Goto Github PK
View Code? Open in Web Editor NEWAzure Stream Analytics unit testing solution (fixture and script)
License: MIT License
Azure Stream Analytics unit testing solution (fixture and script)
License: MIT License
The latest release seems to be breaking the test scripts
https://www.nuget.org/packages/Microsoft.Azure.StreamAnalytics.CICD/
Can we lock the package to an older version?
07-Sep-2020 08:37:54 | VERBOSE: 301 - Update each conf file
-- | --
07-Sep-2020 08:37:55 | VERBOSE: 401 - Run SA in parallel jobs
07-Sep-2020 08:37:56 | VERBOSE: 402 - Waiting for all jobs to end...
07-Sep-2020 08:38:07 | VERBOSE: 403 - Jobs done
07-Sep-2020 08:38:07 | VERBOSE: 501 - Calculating diffs
07-Sep-2020 08:38:08 | [-] ASAHelloWorld.unit-test 30.75s
07-Sep-2020 08:38:08 | ArgumentException: Invalid array passed in, ',' expected. (41): [{"EventId":"1","EventMessage":"Hello"} {"EventId":"2","EventMessage":"World"} {"EventId":"3","EventMessage":"Hello"} {"EventId":"4","EventMessage":"Friends"}]
07-Sep-2020 08:38:08 | at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\asa.unittest\1.0.9\private\Get-AutRunResult.ps1: line 88
07-Sep-2020 08:38:08 | at Get-AutRunResult<Process>, C:\Program Files\WindowsPowerShell\Modules\asa.unittest\1.0.9\private\Get-AutRunResult.ps1: line 63
07-Sep-2020 08:38:08 | at Start-AutRun<Process>, C:\Program Files\WindowsPowerShell\Modules\asa.unittest\1.0.9\public\Start-AutRun.ps1: line 128
07-Sep-2020 08:38:08 | at <ScriptBlock>, C:\Users\syscon\bamboo-agent-home\xml-data\build-dir\HUBCD-HUBWINPR54-SAUT\stream_analytic\ASAHelloWorld.Tests\ASAHelloWorld.Tests.ps1: line 14
07-Sep-2020 08:38:08 | Tests completed in 30.75s
07-Sep-2020 08:38:08 | Passed: 0 Failed: 1 Skipped: 0 Pending: 0 Inconclusive: 0
Why the repetition of solution path in -solutionPath and -assertPath
How can we retrieve the unit test test results (*.xml)?
There are no test reports in 3_assert folder after test execution.
Functions are not cloned to test execution and the generated .asaproj file
Since the recent release of version 2.4.1 of the Microsoft.Azure.StreamAnalytics.CICD package, Start-AutRun
will return phantom errors due to ordering differences in the result sets.
This is a new behavior not encountered previously.
Since the recent release of version 2.4.1 of the Microsoft.Azure.StreamAnalytics.CICD package, Start-AutRun
will throw an error indicating it can't find version 2.4.0 of sa.exe
.
Release 1.0.3
Set-Location
will fail, but the rest of the script still runs blissfully.
Start-AutRun
runs fine locally but fails all tests on Azure DevOps (PS 5.1 and PS 7 / pwsh).
...
VERBOSE: Ending Test Run with X errors
VERBOSE: 001
VERBOSE: USAGE: jsondiffpatch left.json right.json
...
If a query include a non-temporal join to a reference data set (which is the expected usage), the test will fail with random errors (Could not find file ...myoutput.json
).
This is a limitation of sa.exe
, the executable that currently runs the stream analytics engine for each test.
I should either update the module to invoke the new npm package instead, or deprecate asa.unittest
entirely since the new package supports unit testing via the test
command.
In our project we have a naming convention for Visual Studio projects like X.X.X.ASA.ProjectName.
When Start a new AutRun the call gets rejected by the validation.
Is there a specific reason why dots are not included in the naming validation?
Hello,
For our ASA project, we are using the CICD version 3.0.0. In Start-AutRun I can specify which version should be used but New-AutProject will always download the 2.4.1 version.
It would be nice to set the version which I need to use for our project in the New-AutProject command.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.