GithubHelp home page GithubHelp logo

Comments (9)

sils avatar sils commented on August 26, 2024

@AbdealiJK I think we should support both, it's nice to have those simple tests sometimes IMO

from coala-bears.

sils avatar sils commented on August 26, 2024

From @AbdealiJK on December 8, 2015 13:59

Yes, i meant it as an optional thing

On Tue, Dec 8, 2015 at 7:18 PM, Lasse Schuirmann [email protected]
wrote:

@AbdealiJK https://github.com/AbdealiJK I think we should support both,
it's nice to have those simple tests sometimes IMO


Reply to this email directly or view it on GitHub
coala/coala#1111 (comment)
.

from coala-bears.

sils avatar sils commented on August 26, 2024

The helper should also create the actual files so it can be used well with linters that use file input.

from coala-bears.

SanketDG avatar SanketDG commented on August 26, 2024

What would be the best way to specify the line and column numbers for each invalid file?

from coala-bears.

AbdealiLoKo avatar AbdealiLoKo commented on August 26, 2024

Simple list of line,col tuple?

-----Original Message-----
From: "Sanket Dasgupta" [email protected]
Sent: ‎27-‎03-‎2016 10:19
To: "coala-analyzer/coala-bears" [email protected]
Cc: "AbdealiJK" [email protected]
Subject: Re: [coala-bears] Make LocalBearTestHelper robust (#36)

What would be the best way to specify the line and column numbers for each invalid file?

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

from coala-bears.

SanketDG avatar SanketDG commented on August 26, 2024

So something like:

    valid_files=(valid_xml_file, valid_xml_chars),
    invalid_files=(invalid_xml_file, invalid_xml_chars),
    positions=([(start_line, end_line, start_col, end_col), ...], [....])

from coala-bears.

abhay-raizada avatar abhay-raizada commented on August 26, 2024

@SanketDG @AbdealiJK i have an assertRange function in #227 's tests that does exaclty this, you might want to have a look at that

from coala-bears.

Makman2 avatar Makman2 commented on August 26, 2024

I think we should check against Results, then we can check for everything yielded, like severity etc.

from coala-bears.

abhay-raizada avatar abhay-raizada commented on August 26, 2024

This issue was moved to coala/coala#2862

from coala-bears.

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.