Giter VIP home page Giter VIP logo

pyconcordion_failedimport's People

pyconcordion_failedimport's Issues

Documentation - Where are the test results ?

I must be missing something obvious, but having run a couple of tests with:
python concordion_folder_runner.py c:\tmp\conc, where is the html results 
summary ?

Also, note that the documentation says to run 'folder_runner.py'.  After 
setup.py I found concordion_folder_runner (with no '.py') and no 
'folder_runner.py'.

Thanks,
JC

Original issue reported on code.google.com by [email protected] on 8 Jul 2010 at 3:00

concordion:verifyRows will not work

concordion:verifyRows will not work since you cast to String in 
"src/concordion/impl/java.py", but it requires an iterable I hacked
together some code to make it work but I
don't program java so I think it could be done better:

public Object %(name)s(%(args_declaration)s) throws XmlRpcException{
    Object object = this.client.execute("%(name)s", new
Object[]{%(args_list)s});
    try{
    List list = Arrays.asList((Object[]) object);
    return list;
    }catch(Exception e){
    String string = (String) object;
    return string;
    }
}"""

Original issue reported on code.google.com by [email protected] on 30 Apr 2009 at 2:59

Moving to concordion 1.3.1

This would add assertTrue, we should also add the annotations :
   * @ExpectedToPass
   * @ExpectedToFail
   * @Unimplemented



Original issue reported on code.google.com by [email protected] on 7 Jun 2009 at 7:29

2 installation problems

I see the following warning upon installation, furthermore the --prefix is not 
handled as expected since it installs the data_files into $PREFIX/usr/bin 
instead of $PREFIX/bin.

Patch below fixes both issues.

Index: src/setup.py
===================================================================
--- src/setup.py    (revision 89)
+++ src/setup.py    (working copy)
@@ -10,5 +10,5 @@ setup(name='PyConcordion',
       packages=['concordion', 'concordion.impl'],
       package_data={'concordion': ['*.ini', 'lib/*.jar']},
       scripts=['scripts/concordion_folder_runner', ],
-      data_file=[('/usr/bin/', ['scripts/concordion_folder_runner'])]
+      data_files=[('bin/', ['scripts/concordion_folder_runner'])]
 )

Original issue reported on code.google.com by [email protected] on 13 Sep 2010 at 9:11

Add a way to pass a method something besides a string

As an enhancement it would be nice to add an annotation, or some other 
mechanism, so the test fixture knows how to convert inputs to the proper types. 
 For example,

@testmethod('str', 'str', 'int', 'bool')
def myTestMethod(self, myStr, myInt, myBool):
    ...
    return someStr

Would tell the Concordion fixture to expect a string return value and convert 
the inputs to string, int, and boolean respectively.

Original issue reported on code.google.com by [email protected] on 2 Jul 2011 at 12:58

Pyconcordion cannot execute concordion:run commands within tests

What steps will reproduce the problem?
1. If I have something like:

<a concordion:run="concordion" href="Foo.html">Test 1</a> inside a test called 
Index.html it will not run.


What is the expected output? What do you see instead?
Index.html should then run the individual tests.

What version of the product are you using? On what operating system?
Latest version of pyconcordion. Tested on Windows and Redhat


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 8 Mar 2012 at 7:37

Running unit test: failing?

Forgive me if I'm not running unittest correctly, but I tried running the unit 
tests under python2.7 on windows xp from the command line:
python -m unittest discover -s . -p "*_test.py"

I got 

Ran 14 tests in 1.140s

FAILED (failures=5, errors=3)

Is this because I am running tests the wrong way, or because they don't pass 
currently?

thanks

(very new to unittest)

Original issue reported on code.google.com by [email protected] on 18 Mar 2011 at 11:04

Type on trunk ArrayExample testcase

There is a typo in the ArrayExample testcase: it says "dsomething" instead of 
"something".

Index: examples/dataTypes/ArrayExample.html
===================================================================
--- examples/dataTypes/ArrayExample.html    (revision 89)
+++ examples/dataTypes/ArrayExample.html    (working copy)
@@ -12,7 +12,7 @@
         <h3>Example</h3>

        <p>This test prooves usage of concordion:execute, concordion:set and concordion:verifyRows works with PyConcordion.</p>
-       <p>One constraint is that no method in the fixture returns None, so even the 
addUser method returns dsomething (i.e. :"ok")</p>
+       <p>One constraint is that no method in the fixture returns None, so even the 
addUser method returns something (i.e. :"ok")</p>

        We add those users :
        <table concordion:execute="addUser(#username)">

Original issue reported on code.google.com by [email protected] on 13 Sep 2010 at 9:07

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.