Comments (7)
A quick look at the Mabot source code shows:
COLOURS = {"PASS":"green", "FAIL":"red", "NOT_EXECUTED":"black"}
so it looks like maybe a version incompatability with Robot Framework.
Was "NOT_EXECUTED" changed to "NOT_RUN" in RF but not in Mabot?
Original comment by [email protected]
on 4 Dec 2008 at 1:04
from mabot.
Yes, we changed NOT_EXECUTED to NOT_RUN in Robot Framework core in 2.0.3. This
was
done when we merged status and state attributes of test cases and test suites.
Sorry
Juha, didn't know Mabot was using this.
This must be fixed in the next Mabot version. Probably easiest to just add
'NOT_EXECUTED': 'black' into COLORS too. If the next Mabot version doesn't need
to
support RF 2.0.2, 'NOT_EXECUTED' can be removed altogether.
Alternative idea is just having 'PASS' and 'FAIL' in COLORS and using
COLORS.get(status, 'black'). In that case possible renaming of 'NOT_RUN' to
something
new doesn't matter.
Original comment by pekka.klarck
on 4 Dec 2008 at 1:25
- Changed state: Accepted
- Added labels: Priority-Critical, Target-0.5
- Removed labels: Priority-Medium
from mabot.
The status is used also in other places. I'll fix this in a way that Mabot 0.5
will
work with Robot 2.0.2 and 2.0.3 versions. Version 0.5 will be released next
week.
This info was added also to front page.
Original comment by [email protected]
on 4 Dec 2008 at 1:55
- Changed title: Mabot does not work with Robot Framework 2.0.3
from mabot.
This was trivial to fix. Fix in r32. If you want to try this out with Robot
Framework
2.0.3 copy file
http://robotframework-mabot.googlecode.com/svn/trunk/src/mabot/model/model.py
over
the model.py in site-packages/mabot/model.
Original comment by [email protected]
on 4 Dec 2008 at 2:58
- Changed state: Started
from mabot.
The below code is still in ui/tree.py and that caused the original problem. See
my
earlier comments about fixing this. I'd additionally remove the global COLORS
altogether.
TODO: "#%02x%02x%02x" % (0, 205, 0),
COLOURS = {"PASS":"green", "FAIL":"red", "NOT_EXECUTED":"black"}
def get_status_color(item):
return COLOURS[item.get_execution_status()]
Original comment by pekka.klarck
on 4 Dec 2008 at 3:10
from mabot.
I'll refactor that, but it is not causing the actual problem.
Original comment by [email protected]
on 5 Dec 2008 at 8:16
from mabot.
Done
Original comment by [email protected]
on 31 Dec 2008 at 6:03
- Changed state: Done
from mabot.
Related Issues (20)
- The progress bar show as standalone process in windows task bar. HOT 1
- Mabot causing seg fault on Mac OS X HOT 12
- Robotframework 2.5 compatibility HOT 3
- Mabot0.61 cannot use on RF2.5 HOT 1
- TXT and RST file formats are not supported HOT 2
- Tag filter does not update tree view properly if test case or keyword is selected
- Mabot 0.7 incompatible with RF 2.5.3 HOT 2
- support --argumentfile and stdin for arguments, like pybot HOT 1
- Mabot is not compatible with Robot Framework 2.6 nor 2.7 HOT 5
- Document that Mabot requires `idle` module that may need to be installed separately HOT 4
- Timestamp is set to 00000000 00:00:00.000 when keyword is set to FAIL HOT 3
- Documentation shows \n instead of newline HOT 4
- Default test case execution status to Not Executed HOT 2
- Supporti for keyboard controls/shortcuts (or it's documentation)
- Mabot doesn't seem to be able to run on a 64 bit Python installation
- mabot: Saving Failed "No module named outputwriter" HOT 1
- Unable to Update Test Status in output.xml. Getting error "AttributeError: 'Message' object has no attribute 'serialize'" HOT 1
- Bundle robot with Mabot
- Introduce "OR" function in Tagging test cases as compared to "AND" and "NOT"
- mabot support with latest Robot Framework and Python 3 and above
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mabot.