Feature #192

Unit Testing for OpenNebula Core

Added by Ruben S. Montero over 11 years ago. Updated over 10 years ago.

Status:ClosedStart date:02/17/2010
Priority:NormalDue date:
Assignee:Ruben S. Montero% Done:

100%

Category:-
Target version:-
Resolution:fixed Pull request:

Description

This tickect is to develop unit testing for core components including OCA and driver subsystem.


Related issues

Duplicated by Feature #19: Core Testing Framework Closed

Associated revisions

Revision 237d2c56
Added by Carlos Martín over 11 years ago

feature #192: Initial tests for the PoolSQL class

Revision 4c600f67
Added by Ruben S. Montero over 11 years ago

feature #192: Added cache test for the pool

Revision b99d4a5d
Added by Carlos Martín over 11 years ago

feature #192: Tests for the UserPool

Revision c646c5ff
Added by Ruben S. Montero about 11 years ago

feature #192: Minor fix for the TestPool

Revision 24b86382
Added by Ruben S. Montero about 11 years ago

feature #192, #206: Moved tests to SqlDB interface

Revision 84709c2c
Added by Ruben S. Montero about 11 years ago

feature #192: Decoupled logger classes from Nebula

Revision 21b729db
Added by Ruben S. Montero about 11 years ago

feature #192: Decouple Logger from Nebula class

Revision b1190c16
Added by Carlos Martín about 11 years ago

feature #192: Base tests for Pool classes

Revision 23864474
Added by Ruben S. Montero about 11 years ago

feature #192: free log resources in NebulaLog and base PoolTest class

Revision 37d9bb74
Added by Ruben S. Montero about 11 years ago

feature #192: New tests for the user pool

Revision ec12027f
Added by Ruben S. Montero about 11 years ago

feature #192: Better update tests for user

Revision 7db0f9f2
Added by Carlos Martín about 11 years ago

feature #192: Tests for the hosts

Revision ec52449a
Added by Ruben S. Montero about 11 years ago

feature #192: fix perms

Revision 04e8a402
Added by Carlos Martín about 11 years ago

feature #192: Tests for VirtualMachinePool

Revision 063898c5
Added by Ruben S. Montero about 11 years ago

feature #192: Tests have the same name for automatic test run

Revision c68c9b59
Added by Ruben S. Montero about 11 years ago

feature #192: Updated pool tests

Revision f551d5bb
Added by Carlos Martín about 11 years ago

feature #192: dump tests for VirtualMachinePool

Revision 6d92d715
Added by Carlos Martín about 11 years ago

feature #192: Tests for the Virtual Network

Revision a4e7bb25
Added by Ruben S. Montero about 11 years ago

feature #192: Automate test execution

Revision e98aff55
Added by Ruben S. Montero about 11 years ago

feature #192: Logs set to DEBUG level

Revision ec3184d1
Added by Tino Vázquez about 11 years ago

feature-#192: Added additional CPPUNIT_ASSERT

Revision fb0dde0b
Added by Carlos Martín about 11 years ago

feature #192: More tests for the HostPool class

Revision 3d702e01
Added by Carlos Martín about 11 years ago

feature #192: more tests for UserPool

Revision f48cf0b8
Added by Carlos Martín about 11 years ago

feature #192: Tests now can be run for sqlite and MySQL backends

Revision b2a8d1af
Added by Carlos Martín about 11 years ago

feature #192: VM tests don't need one_auth

Revision c02612f7
Added by Ruben S. Montero about 11 years ago

feature #192: More options for the do_tests script

Revision f27c991d
Added by Carlos Martín about 11 years ago

feature #192: More checks for the PoolTest tests

Revision 31dad56b
Added by Carlos Martín about 11 years ago

feature #192: More tests for Vnet allocation. It also solves some bugs.

Revision 4fc8e567
Added by Carlos Martín about 11 years ago

feature #192: Fix allocate rc check

Revision 445a92b5
Added by Tino Vázquez about 11 years ago

feature-#192: Testing is not multithread, so removing locks as it masks some errors

Revision 75112ebd
Added by Carlos Martín about 11 years ago

feature #192: Tests now uses the same DB

Revision 7f5e23d2
Added by Carlos Martín about 11 years ago

feature #192: one_auth file needed for the VNetwok tests.

Revision 9d968654
Added by Carlos Martín about 11 years ago

feature #192: Test for VM now check DB dump with history items.

Revision 2b5ffb2c
Added by Ruben S. Montero about 11 years ago

feature #192: Fix compilation issues for the tests

Revision ab96e061
Added by Carlos Martín about 11 years ago

feature #192: Tests for match and rank mechanisms

Revision e5443b0e
Added by Carlos Martín about 11 years ago

feature #192: Tests fixed for new xml generation with CDATA

Revision 1e6e2803
Added by Carlos Martín about 11 years ago

feature #192 & #200: Added tests for ImagePool.

Revision 7c0112ac
Added by Carlos Martín about 11 years ago

feature #192: Fix xml samples broken since d2dea176cb3981f23670b982f17b7e7dd3b14500

Revision 5dcb81c2
Added by Carlos Martín about 11 years ago

feature #192: Memory leak fixed.

Revision 518a74ad
Added by Carlos Martín about 11 years ago

feature #192: New test for ImagePool initialization.

Revision 5e23f178
Added by Carlos Martín about 11 years ago

feature #192: New test for Template::erase.

Revision 55ffd09a
Added by Carlos Martín about 11 years ago

feature #192: More tests for TemplateSQL, added also support for testing MySQL.

Revision ea7f60a7
Added by Carlos Martín about 11 years ago

feature #192: Tests fixed for new public attribe of the Images.

Revision c150cc6e
Added by Carlos Martín about 11 years ago

feature #192: New test for Image's public attribute.

Revision d411f583
Added by Carlos Martín about 11 years ago

feature #192: Virtual Network tests fixed for new public attribute, and new test added for this PUBLIC field.

Revision de5ed31f
Added by Ruben S. Montero about 11 years ago

feature #192: Fixed compilation issues que template_sql test

Revision 82b38387
Added by Ruben S. Montero about 11 years ago

feature #192: Fix tests for template_sql and better erase method

Revision a4f94ab3
Added by Carlos Martín about 11 years ago

feature #192: Updated tests for public downcase definition.

Revision 3df3652b
Added by Carlos Martín about 11 years ago

feature #192: tests fixed for new VM sql schema.

Revision 67d8862c
Added by Carlos Martín about 11 years ago

feature #192: Dump tests fixed for new SQL schema.

Revision 5955da4d
Added by Carlos Martín about 11 years ago

feature #192 & #200 : New test for Image::disk_attribute

Revision 943e0d25
Added by Daniel Molina about 11 years ago

feature #192 Added OCA Tests

Revision a1857196
Added by Daniel Molina about 11 years ago

feature #192 Fixed error on to_xml method when no @xml, now it returns nil

Revision 76040825
Added by Daniel Molina about 11 years ago

feature #192 Fixed NOKOGIRI returning 0 instead of nil

Revision 909bdb03
Added by Daniel Molina about 11 years ago

feature #192 Fixed problem on REXML parser adding \n and whitespaces

Revision a1648957
Added by Ruben S. Montero about 11 years ago

feature #192: removed unneeded files

Revision 8e7d97fc
Added by Ruben S. Montero about 11 years ago

feature #192: Fix cache test for Pools with the new defaults

Revision dc109576
Added by Carlos Martín about 11 years ago

feature #192: Fixed tests for HostPool

Revision 74c0d7ce
Added by Carlos Martín almost 11 years ago

features #201 & #192: New tests for cluster requirements.

Revision d68855a4
Added by Carlos Martín almost 11 years ago

feature #192: New tests for ImagePool::disk_attribute and tests fixed for new ImagePool::allocate parameters (#203).

Revision 57e5c959
Added by Carlos Martín almost 11 years ago

feature #192: Tests fixed for new VirtualNetworkPool::allocate parameters (#203).

Revision d0ded1ca
Added by Carlos Martín almost 11 years ago

feature #192: New tests for VirtualNetworkPool::nic_attribute

Revision b6178c1c
Added by Carlos Martín almost 11 years ago

feature #192: Tests fixed for new VirtualMachinePool::allocate parameters (#203).

Revision cde239b9
Added by Carlos Martín almost 11 years ago

feature #192: Image tests updated for #279 and #281.

Revision ab24a66e
Added by Carlos Martín almost 11 years ago

feature #192: Tests for feature #282.

Revision 7e5d3cf8
Added by Carlos Martín almost 11 years ago

feature #192: Tests for feature #282.
(cherry picked from commit ab24a66e0ec8fd28d9387c80c63c3c747a946ab5)

Revision f812cce7
Added by Carlos Martín almost 11 years ago

feature #192: Extra checks for host tests.

Revision 6c907e30
Added by Carlos Martín almost 11 years ago

feature #192: New test for Host::update_info.

Revision 0ff9f4e9
Added by Carlos Martín almost 11 years ago

feature #192: Host tests fixed for commit fbc455a219ee413692666d2c013dfcfe8970b426

Revision 7221ae06
Added by Carlos Martín almost 11 years ago

feature #282 & #192: VirtualMachineTemplate moved from its own table to a vm_pool column.

Revision 06f24cb2
Added by Carlos Martín almost 11 years ago

feature #192: Image tests fixed.

Revision 51bf1d5b
Added by Carlos Martín almost 11 years ago

feature #192: Tests modified for new ImageTemplate.

Revision 6ed71133
Added by Carlos Martín almost 11 years ago

feature #192: tests for image persistence.

Revision f17ee423
Added by Carlos Martín almost 11 years ago

Feature #192: Tests fixed for commit f1ef57e0b53cf5fdf5f9e79f67e828db7c433f2b, and testing DB name changed for consistency.

Revision d7eaab77
Added by Ruben S. Montero almost 11 years ago

feature #192: Recover original db name

Revision 882f1bc7
Added by Juan Jose Montiel Cano over 4 years ago

Feature 2347 (#192)

  • F #2347 changed install.sh file for add the new JSON
  • F #2347 Added a new JSON file for the new tab VMGroup
  • F #2347 added a new file and folder for the new tab VMGroup
  • F #2347 changed name to vm_group
  • F #2347 removed roles tab in fill function, for update
  • F #2347 Finalized vm_group tab
  • F #2347 removed test file and changed role tab hbs

Revision 9e0db5fd
Added by Juan Jose Montiel Cano over 4 years ago

Feature 2347 (#192)

  • F #2347 changed install.sh file for add the new JSON
  • F #2347 Added a new JSON file for the new tab VMGroup
  • F #2347 added a new file and folder for the new tab VMGroup
  • F #2347 changed name to vm_group
  • F #2347 removed roles tab in fill function, for update
  • F #2347 Finalized vm_group tab
  • F #2347 removed test file and changed role tab hbs

(cherry picked from commit 882f1bc778e23b69b815e2f866c739d3941fc571)

History

#1 Updated by Ruben S. Montero over 11 years ago

  • Target version set to Release 2.0

#2 Updated by Ruben S. Montero about 11 years ago

  • % Done changed from 0 to 50

#3 Updated by Ruben S. Montero about 11 years ago

  • Status changed from New to Closed
  • % Done changed from 50 to 100
  • Resolution set to fixed

Tests for the Core Pool, Template, and Action classes are now in master

#4 Updated by Ruben S. Montero about 11 years ago

  • Category deleted (Core & System)
  • Status changed from Closed to Assigned
  • Resolution deleted (fixed)

#5 Updated by Javi Fontan over 10 years ago

  • Target version deleted (Release 2.0)

#6 Updated by Ruben S. Montero over 10 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

Also available in: Atom PDF