• Anonymous
  • Login
  • Register
Domino Unit Framework

Owners tony palmer Category
Software Development Tools
Contributors - Platform
R 8.5.2
Downloads 457Download latest release Last Release Feb 20, 2008
Rating
(0 ratings)
Project Creation Dec 19, 2007
Status Not active Short URL Not defined
Description Unit Test Framework for Domino In Catalog
No


A Unit Testing framework in a similar manner to JUNIT. Currently supports the following object types and your own custom classes.

Numeric Assertions
- integer
- long
- double
- currency
LS Date
Boolean (Integer)
String
NotesObjects
- NotesDocument (based on UNID)
- NotesDatabase (based on Replica Id)

Code Examples.

' -- set the place for the results to go
Dim OutputStream As NotesDatabaseOutputStream
Set OutputStream = New NotesDatabaseOutputStream(session, "", "tools/DominoUnit.nsf")

' -- creating a new test
Dim testObject As New Test("Test Objects", Outputstream)

' -- assertions
Call test.AssertEqual("Test",1)
Call test.AssertTrue(True)
Call test.AssertFalse(False)

' -- test suites
Dim testSuite As New TestSuite("isMemberTests", OutputStream)

' -- add the test to the suite
Call testSuite.Add(test1)
Call test1.AssertEqual(True,isMember(vArray2,vArray1))

' -- custom classes
Dim tony As New Person
Dim emp As New Person

Call tony.init("Tony","A","Palmer")
Call emp.init("Tony","A","Palmer")

Call Test101.AssertEqual(tony,emp)

Class Person
...
Function isEqual(people As Person) As Integer
' add in your own code that determines equality or not.
End Function
..
End Class


Projects can have short and readable URLs, e.g. http://mobilecontrols.openntf.org.

You can request a short URL to your project by sending a mail to support at openntf dot org. Put the word 'OpenNTF' somewhere in the subject.
Owners are the people with maximal rights. For example they can create releases and add more contributors.

In order to define multiple owners use "," (comma) as separator.

Because of data privacy you cannot lookup other people's names but you have to type them in.
Enter the contributors or owners here who you want to receive notifications and questions by email.

In order to define multiple owners use "," (comma) as separator.

Because of data privacy you cannot lookup other people's names but you have to type them in.
In addition to the owners additional OpenNTF contributors have to be listed here. Contributors don't have the same access rights as owners, e.g. they cannot create releases.

In order to define multiple owners use "," (comma) as separator.

Because of data privacy you cannot lookup other people's names but you have to type them in.
Enter a short description of the project here (up to 100 characters).

The short description shows up in the project UI and in some of the views.
In this field you should enter a more detailed description of your project.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.
A Catalog Release is for projects that are production ready and that are end-user "install friendly".

This property describes whether any release of this project has been added to the catalog.

Learn more about the catalog.