sketchup / testup-2 Goto Github PK
View Code? Open in Web Editor NEWTestUp 2 for SketchUp - A GUI wrapper for running Minitest in SketchUp
License: MIT License
TestUp 2 for SketchUp - A GUI wrapper for running Minitest in SketchUp
License: MIT License
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?
Only TestUp window should handle bridge communications. The rest of the code should be blissfully unaware.
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.
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.
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.
Add an optional warning that can be enabled to get messages about use of old assert API that should ideally be updated to conform with the new framework.
Implement compatibility asserts that Minitest removed in order to run our old tests.
Allow TC__.rb files to be wrapped in TC__ folder that can contain support files for the given tests.
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.
The current structure isn't ideal. The responsibilities and names needs a cleanup.
When tests are discovered the metadata for only the active test suite is updated.
Abstract the various UI components into smaller modules.
Sort test cases and test names as they are inserted.
Add and configure the TaskbarProgress C Extension project for TestUp. Useful for displaying the progress of tests.
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.
Allow a summary of the tests be exported to some format.
Can SKUI be included as a sub-repository?
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...
Currently using fam fam fam silk icons as placeholders.
http://www.famfamfam.com/
Before release, create new icons that fits properly with all sizes that the toolbar needs.
Add an easy overview of total tests in suite as well as run, failed and error.
By default collapse test cases.
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.
Allow user control over which tests to fold unfold.
Need to implement better function to convert test names to HTML IDs.
Indicate that a test that has previously been run is now removed.
Also add some function to clear removed tests.
Allow override of the name?
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
Needs to be considered how these are handled. And how they are ensure to not conflict with instance methods of the same name.
Run and visualize benchmarks.
Just a reminder to test fully on both platform before releasing.
Create a runner that collects data required for displaying test results in the WebDialog UI.
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?
Insert new tests in alphabetical order.
Make toolbar buttons be configuration toggles.
Add run control to WebDialog.
Loading/discovering testcases with identical names conflicts. Need to remove the test classes discovered and load the correct one when we run.
For persistent settings make a Settings class that abstracts Sketchup.read/write_default.
When tests doesn't change it's good to have some visual confirmation the tests have run. Display a timestamp.
Currently the tests are not updated unless the windows is reopened or refreshed.
Add a button in WebDialog to refresh list of tests.
Should ideally keep existing run data.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.