bvaughn / reflex-unit Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/reflex-unit
Automatically exported from code.google.com/p/reflex-unit
I think test runner needs to be made more in line with other test frameworks.
- Nested suites don't nest in the tree, so finding the right one will be
very painful if you have hundreds of tests
- Option to show only failed tests
- Increase view area of the stack trace, change font to monospaced and
increase font size
- Option to filter out reflex unit calls in the stack trace to remove
visual garbage
- Move the progress bar on top, stretch across and increase size for
greater visual impact
Original issue reported on code.google.com by [email protected]
on 15 May 2008 at 5:26
Problem:
It's a pretty commong thing to start tests right away with the test
application. Currently there doesn't seem to be a way.
Work around:
Dispatch a fake click:
runner.runAllButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK));
Original issue reported on code.google.com by [email protected]
on 1 Apr 2008 at 1:32
Problem:
No classes is resolving under flexunit.framework.display.flexviewer.*
Solution:
Manually checkout the source.
Original issue reported on code.google.com by [email protected]
on 1 Apr 2008 at 1:09
What steps will reproduce the problem?
1. add the swc file to a actionscript or flex project using flex sdk (tested on
version 3.0.1.1728
2. run the project
What is the expected output? What do you see instead?
The app is compiled but the sdk changed the method signature so it throws an
error. If the swc is compiled with the new
sdk it works fine.
What version of the product are you using? On what operating system?
tested on flex builder 3 on mac os x 10.5.3
Please provide any additional information below.
the debug stack trace:
ArgumentError: Error #1063: Argument count mismatch on
mx.binding::PropertyWatcher(). Expected 3, got 2.
at _reflexunit_framework_display_flexviewer_FlexViewerWatcherSetupUtil/setup()
at reflexunit.framework.display.flexviewer::FlexViewer/initialize()
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at mx.core::Application/initialize()
at TestRunner/initialize()
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.managers::SystemManager/initializeTopLevelWindow()
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()
Original issue reported on code.google.com by [email protected]
on 4 Jun 2008 at 5:43
1. Create and run a test method (i.e.
TestMethodExecution.testAllMetaDataMethodsExecuted)
2. Within the said test method, create and run another Runner with an
assertion that fails synchronously
An uncaught Flash Error is displayed (in the debug Flash player). This is
because the Wrapper for the first test method has not completed execution
of its method before the second test method failed.
Original issue reported on code.google.com by [email protected]
on 13 Mar 2008 at 3:33
I prefer "spec" notation for my test names:
public function should_return_correct_values() : void {}
Currently only "test" prefix is supported.
Workaround is to use [Test] metatag with -keep-as3-metadata+=Test compiler
option.
[Test]
public function should_return_correct_values() : void {}
Suggested fix:
Expose static array with prefixes.
Original issue reported on code.google.com by [email protected]
on 15 May 2008 at 5:29
assertEqual() should display both values when assertion fails.
Original issue reported on code.google.com by [email protected]
on 1 Apr 2008 at 11:36
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.