← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 745036] [NEW] connection failed with last stable

 

Public bug reported:

I tried to install the last stable version of oerpscenario on Ubuntu 10.10.
It s failing every time!

It's telling me that one argument are missing.

When I had a look to the code, I didn't see where the password is given
to the test.

openerp@ubuntu:/usr/local/openerp/oerpscenario2/test$ rake compile
(in /usr/local/openerp/oerpscenario2/test)
/usr/bin/ruby1.8 -I "/var/lib/gems/1.8/gems/cucumber-0.6.3/lib:lib" "/var/lib/gems/1.8/gems/cucumber-0.6.3/bin/cucumber" -t @compile features
Attempt to connect
Extending  Class IrModuleModule
Extending  Class ResUsers
Extending  Class AccountInvoice
Extending  Class ResPartner
Extending  Class ModuleQualityCheck
Extending  Class AccountTax
Extending  Class AccountBankStatement
###############################################################################
#
#    OERPScenario, OpenERP Functional Tests
#    Copyright 2009 Camptocamp SA
#
##############################################################################

# Features Generic tags (none for all)
##############################################################################
Feature: basic initialization
  In order to do BDD
  I want to log me into OpenERP server with the following user
  And run the OERPScenario suite with him

  Background:                                                            # features/_basic/_init.feature:16
    Given I am logged as admin user with the password set in config used # features/_basic/step_definitions/_init.rb:60
      Your block takes 2 arguments, but the Regexp matched 1 argument. (Cucumber::ArityMismatchError)
      features/_basic/step_definitions/_init.rb:60:in `/^I am logged as (\w+) user with the password set in config used$/'
      features/_basic/_init.feature:17:in `Given I am logged as admin user with the password set in config used'

###############################################################################
#
#    OERPScenario, OpenERP Functional Tests
#    Copyright 2009 Camptocamp SA
#
##############################################################################


# Features Generic tags (none for all)
##############################################################################

# System
@compile
Feature: Compilation tests
  In order to verify everything is working
  And all needed packages are installed
  And the OERPScenario's settings are well done
  I want to launch a test scenario

  Scenario: Compile Test # features/_basic/compile.feature:21
    Given Build is OK    # features/_basic/step_definitions/compile.rb:22

1 scenario (1 passed)
2 steps (1 failed, 1 passed)

** Affects: oerpscenario
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OERPScenario.
https://bugs.launchpad.net/bugs/745036

Title:
  connection failed with last stable

Status in OpenERP Scenario : Functional tests by Camptocamp:
  New

Bug description:
  I tried to install the last stable version of oerpscenario on Ubuntu 10.10.
  It s failing every time!

  It's telling me that one argument are missing.

  When I had a look to the code, I didn't see where the password is
  given to the test.

  openerp@ubuntu:/usr/local/openerp/oerpscenario2/test$ rake compile
  (in /usr/local/openerp/oerpscenario2/test)
  /usr/bin/ruby1.8 -I "/var/lib/gems/1.8/gems/cucumber-0.6.3/lib:lib" "/var/lib/gems/1.8/gems/cucumber-0.6.3/bin/cucumber" -t @compile features
  Attempt to connect
  Extending  Class IrModuleModule
  Extending  Class ResUsers
  Extending  Class AccountInvoice
  Extending  Class ResPartner
  Extending  Class ModuleQualityCheck
  Extending  Class AccountTax
  Extending  Class AccountBankStatement
  ###############################################################################
  #
  #    OERPScenario, OpenERP Functional Tests
  #    Copyright 2009 Camptocamp SA
  #
  ##############################################################################

  # Features Generic tags (none for all)
  ##############################################################################
  Feature: basic initialization
    In order to do BDD
    I want to log me into OpenERP server with the following user
    And run the OERPScenario suite with him

    Background:                                                            # features/_basic/_init.feature:16
      Given I am logged as admin user with the password set in config used # features/_basic/step_definitions/_init.rb:60
        Your block takes 2 arguments, but the Regexp matched 1 argument. (Cucumber::ArityMismatchError)
        features/_basic/step_definitions/_init.rb:60:in `/^I am logged as (\w+) user with the password set in config used$/'
        features/_basic/_init.feature:17:in `Given I am logged as admin user with the password set in config used'

  ###############################################################################
  #
  #    OERPScenario, OpenERP Functional Tests
  #    Copyright 2009 Camptocamp SA
  #
  ##############################################################################

  
  # Features Generic tags (none for all)
  ##############################################################################

  # System
  @compile
  Feature: Compilation tests
    In order to verify everything is working
    And all needed packages are installed
    And the OERPScenario's settings are well done
    I want to launch a test scenario

    Scenario: Compile Test # features/_basic/compile.feature:21
      Given Build is OK    # features/_basic/step_definitions/compile.rb:22

  1 scenario (1 passed)
  2 steps (1 failed, 1 passed)



Follow ups

References