Giter VIP home page Giter VIP logo

Comments (3)

edigaryev avatar edigaryev commented on June 12, 2024

The test report example seem to be missing line numbers and a quick look into the codebase reveals nothing about emitting them, unfortunately.

from cirrus-ci-annotations.

fkorotkov avatar fkorotkov commented on June 12, 2024

That's sad. Created flutter/flutter#79793

from cirrus-ci-annotations.

fkorotkov avatar fkorotkov commented on June 12, 2024

Seem it does provide line numbers. The example seems a bit outdated?

Here is my test repository and here is the output of flutter test --machine

{"protocolVersion":"0.1.1","runnerVersion":"1.16.8","pid":47603,"type":"start","time":0}
{"suite":{"id":0,"platform":"vm","path":"/Users/fedor/workspace/counter_app/test/counter_test.dart"},"type":"suite","time":0}
{"test":{"id":1,"name":"loading /Users/fedor/workspace/counter_app/test/counter_test.dart","suiteID":0,"groupIDs":[],"metadata":{"skip":false,"skipReason":null},"line":null,"column":null,"url":null},"type":"testStart","time":1}
{"count":1,"type":"allSuites","time":3}
{"testID":1,"result":"success","skipped":false,"hidden":true,"type":"testDone","time":871}
{"group":{"id":2,"suiteID":0,"parentID":null,"name":"","metadata":{"skip":false,"skipReason":null},"testCount":3,"line":null,"column":null,"url":null},"type":"group","time":878}
{"group":{"id":3,"suiteID":0,"parentID":2,"name":"Counter","metadata":{"skip":false,"skipReason":null},"testCount":3,"line":5,"column":3,"url":"file:///Users/fedor/workspace/counter_app/test/counter_test.dart"},"type":"group","time":879}
{"test":{"id":4,"name":"Counter value should start at 0","suiteID":0,"groupIDs":[2,3],"metadata":{"skip":false,"skipReason":null},"line":6,"column":5,"url":"file:///Users/fedor/workspace/counter_app/test/counter_test.dart"},"type":"testStart","time":879}
{"testID":4,"result":"success","skipped":false,"hidden":false,"type":"testDone","time":910}
{"test":{"id":5,"name":"Counter value should be incremented","suiteID":0,"groupIDs":[2,3],"metadata":{"skip":false,"skipReason":null},"line":10,"column":5,"url":"file:///Users/fedor/workspace/counter_app/test/counter_test.dart"},"type":"testStart","time":910}
{"testID":5,"result":"success","skipped":false,"hidden":false,"type":"testDone","time":915}
{"test":{"id":6,"name":"Counter value should be decremented","suiteID":0,"groupIDs":[2,3],"metadata":{"skip":false,"skipReason":null},"line":18,"column":5,"url":"file:///Users/fedor/workspace/counter_app/test/counter_test.dart"},"type":"testStart","time":915}
{"testID":6,"result":"success","skipped":false,"hidden":false,"type":"testDone","time":919}
{"success":true,"type":"done","time":947}

from cirrus-ci-annotations.

Related Issues (18)

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.