GithubHelp home page GithubHelp logo

test_report's Introduction

Test_Report

Test report application made with React. Purpose of application is to show statistics of running tests. Application is able:

  • to show info about test (duration, erros, path, arguments etc)
  • to indicate which tests have been passed successfully
  • to indicate which tests have been failed
  • to indicate which tests are been ignored and inconclusive
  • to filter tests (based on their status - passed, failed or ignored) Project was made using create-react-app, but due to clinet's request was trasferred to simple HTML page + styling with CSS file.

test_report's People

Contributors

helendrug avatar mindwrapper avatar

Stargazers

 avatar

Forkers

gintautasss

test_report's Issues

Change callStack2 processing algorithms

if parsed is false, display rawFrameString
Example:

"stackTrace2": [
      {
        "parsed": false,
        "method": null,
        "line": 0,
        "file": null,
        "ref": null,
        "rawFrameString": "at OcclusioncullingTests.RemoveCacheFolder_ShouldDelete_OcclusionFolder () [0x00034] in /Users/yan/unity/lane1/Tests/EditModeAndPlayModeTests/Camera/Assets/Editor/OcclusionCullingTests.cs:27"
      }

Select top node automatically

Make the top-level node selected automatically after page load so that the details panel is not empty (short term):

image

New StackTrace format

The new stack trace format will look like this:

"stackTrace2": [
{
"method": "MethodName",
"line": 12,
"file": "myfile.cs",
"ref": "https://github.com/HelenDrug/Test_Report/blob/master/index.html#L35",
"frameString": "at
}
]

you need to render it to a string: at MethodName in my file.cs:12

file.cs:12 should be a link with the target address https://github.com/HelenDrug/Test_Report/blob/master/index.html#L35
note, that there might be multiple entries like this

Command line to run locally: add prefix

should be

should be perl utr.pl --suite=nunit--testfilter=Unity.UnifiedTestRunner.UnitTests.GlobalOptionsTests.ParseArguments_WhenOnlySuiteIsSpecified_ThenSetsValuesToDefault

The prefix can be found in JSON data

Copy for minimal command line adds "," into copied string

when we use the "Copy" button to copy the content to the clipboard, the value we get when do 'paste' contains commas after each argument:
--suite=nunit,--testfilter=Unity.UnifiedTestRunner.Plugin.LegacyTestReportBuilder.UnitTests.LegacyReportNinjectModuleTests.Load_LegacyReportBuilderIsBound

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.