Giter VIP home page Giter VIP logo

testup-2's People

Contributors

aerilius avatar bugrabarin avatar chrisfullmer avatar kant avatar msp-greg avatar polydeuces avatar thomthom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

testup-2's Issues

Add knowledge of common editors

Allow for customized command syntax to fit each editor.

Add some knowledge of common editor to make it easier.

Sublime Text
https://www.sublimetext.com/docs/command-line
http://www.sublimetext.com/docs/2/osx_command_line.html

Notepad++
http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Command_Line_Switches

TextMate
http://manual.macromates.com/en/using_textmate_from_terminal.html

Visual Studio
http://stackoverflow.com/questions/350323/open-a-file-in-visual-studio-at-a-specific-line-number
devenv /edit myfile.rb /command "edit.goto 5"
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE

Xcode
http://stackoverflow.com/a/7973684/486990
xed --line 100 /Users/Anne/Desktop/Test/TestAppDelegate.m

VSCode
https://stackoverflow.com/a/64117773/486990
Code.exe --goto "C:\file path\filename.txt:450:11"
C:\Users\tthomas2\AppData\Local\Programs\Microsoft VS Code\Code.exe
-goto "{FILE}:{LINE}" --reuse-window

Allow testcase packages

Allow TC__.rb files to be wrapped in TC__ folder that can contain support files for the given tests.

Add Update/Refresh

Add a button in WebDialog to refresh list of tests.
Should ideally keep existing run data.

Create a TestDiscoverer class

Create a class for discovering tests. Should have an iterator method yielding the tests it find. That way it can be used to catch loading errors and display it in the UI.

Should each discoverer class be responsible per suite or testcase? Can per testcase allow multiple discoverers to be run in parallel?

Allow text to be selected

SKUI disables text selection. This is not desired for the test results. It can be useful to copy and paste the messages.

Maybe alternatively have a Copy button/link to copy the test/testcase/testsuite results?

Is full backtrace needed for failures?

It adds a lot of noise. Is full backtrace needed? Or is it enough to be able to jump to the line of error?

It could be made into a always-folded field that needs to be expanded.

Maybe just for Errors - probably less need for Failures.

Cache test discoverer result

Traversing and loading files just to discover the test methods can be slow when all the tests for the Ruby API is processed.

Might want to cache the discoverer data. Track filename and filedate - only load when testcase has been updated.

Add configuration for code editor.

When user clicks on test failure location it opens the file at given line position.
The editor needs to be able to be configured. Currently hard coded to Sublime Text.

Allow for automated test

QA would like to automate the tests.

Add API methods to trigger tests without needing to open WebDialog or Ruby Console.

Output results to text file. Probably enough to use the default runner for this.

Example of current console runner output:

2014-01-21_19h01_33

Add testcase meta data

For each testcase, append information about number of tests. Maybe also summarize how many have failed, after the title.

Or should number of fails etc, be seen only when expanding? Might make more sense - as a fail should auto-expand the testcase.

Class singleton methods?

Needs to be considered how these are handled. And how they are ensure to not conflict with instance methods of the same name.

Testcases might conflict

Loading/discovering testcases with identical names conflicts. Need to remove the test classes discovered and load the correct one when we run.

Link failure result to source code

When a test fails, add a link that will open the file in user specified editor. Hopefully one can control which line it scrolls to.

I'd think that one could do this with Sublime Text - at the worst one has to write a small plugin - but that is ok.

Avoid conflict with old TestUp?

There is no way TestUp2 can run side by side with old TestUp. But should there be a user friendly warning if someone have both installed?
Maybe someone have Developer Console installed...

Add coverage manifest?

The old TestUp had coverage overview based on a list of the Ruby API generated by ourdoc.rb. Now sure if that works any more, but such a tool might be nice.

I'd prefer to make this an XML/JSON manifest that is placed in the test suite folder.

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.