GithubHelp home page GithubHelp logo

Comments (5)

devblackops avatar devblackops commented on July 23, 2024 2

I would also like this feature. IMHO, the option for test results to be passed back as a collection of objects (perhaps with a -PassThru parameter?) would allow us to integrate this module with our existing automation processes easier.

from devopskit.

PlagueHO avatar PlagueHO commented on July 23, 2024 2

@devblackops - I wrote a short pester test to make this a little bit easier:
https://gist.github.com/PlagueHO/1af35ee65a2276ca90b3a8a5b224a5d4

from devopskit.

PlagueHO avatar PlagueHO commented on July 23, 2024 1

@avishnyakov - no, the current module doesn't have these parameters. It would be good if it did!

from devopskit.

avishnyakov avatar avishnyakov commented on July 23, 2024

Same-same. Having machine readable output would be really nice. That way we could integrate with other tolls.

Optional CSV generation is another point. Either disabling it at all, or providing a way to specify file.

Current implementation seems to fail under Docker container, quick test gives the following error. A bunch of variables / consts set the target path and we don't seem to have a way to change this.

Export-Csv : Could not find a part of the path '/Microsoft/AzSKLogs/ARMChecker/20190325_061020/ARMCheckerResults_20190325_061020.csv'.
At /opt/microsoft/powershell/6/Modules/AzSK/3.11.0/Framework/Core/ARMChecker/ARMCheckerStatus.ps1:232 char:16
+ ...        $csvResults| Export-Csv $csvFilePath -NoTypeInformation -Force
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : OpenError: (:) [Export-Csv], DirectoryNotFoundException
+ FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.ExportCsvCommand

from devopskit.

avishnyakov avatar avishnyakov commented on July 23, 2024

@PlagueHO is this Pester test for a potential options which might be implemented?
Current module does not seem to have these parameters, does it?

from devopskit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.