System and method for providing testing for a communities framework
First Claim
1. A system for providing testing in a communities framework, said system comprising:
- a computer that provides a portal interface to access a community of users, the community including a plurality of members that share resources of the community, the portal interface being defined by a portal file stored on said computer;
a service component executing on said computer that provides a specific set of functions to the plurality of members in the community and allows the plurality of members to access said resources;
a dissassembler that automatically disassembles the portal file and creates an instance of the community associated with the service component; and
a unit test implemented in the instance of the community, wherein the unit test automatically defines at least one member of the community having particular membership capabilities, executes the specific set of functions provided by the service component as the automatically defined member, and inspects results of execution of the specific set of functions, wherein the unit test verifies access to a first level of security for the automatically defined member by validating said member'"'"'s membership capabilities and verifies access to a second level of security by validating said member'"'"'s entitlements.
2 Assignments
0 Petitions
Accused Products
Abstract
A community for maintaining user membership can be provided. Each major component of the communities framework can have multiple portals associated with its series of tests. Each of these portals can start out as a portal file. These portal files can be ran through the dissassembler in order to render the portals representing individual community instances. Once the community instance is created for the portal, various HTML unit tests can be written by the developer in order to access that portal as some user with given membership and functional capabilities. The test framework can automatically create users giving them membership in the community and mapping them to membership capabilities. The component code can subsequently be accessed in the context of a real user or member of the community. In this manner, a more realistic and efficient testing environment is achieved.
191 Citations
12 Claims
-
1. A system for providing testing in a communities framework, said system comprising:
-
a computer that provides a portal interface to access a community of users, the community including a plurality of members that share resources of the community, the portal interface being defined by a portal file stored on said computer; a service component executing on said computer that provides a specific set of functions to the plurality of members in the community and allows the plurality of members to access said resources; a dissassembler that automatically disassembles the portal file and creates an instance of the community associated with the service component; and a unit test implemented in the instance of the community, wherein the unit test automatically defines at least one member of the community having particular membership capabilities, executes the specific set of functions provided by the service component as the automatically defined member, and inspects results of execution of the specific set of functions, wherein the unit test verifies access to a first level of security for the automatically defined member by validating said member'"'"'s membership capabilities and verifies access to a second level of security by validating said member'"'"'s entitlements. - View Dependent Claims (2, 3, 4, 5, 10, 12)
-
-
6. A method for providing testing in a communities framework, said system comprising:
-
a computer that provides a portal interface to access a community of users, the community including a plurality of members that share resources of the community, the portal interface being defined by a portal file stored on said computer; a service component executing on said computer that provides a specific set of functions to the plurality of members in the community and allows the plurality of members to access said resources; a dissassembler that automatically disassembles the portal file and creates an instance of the community associated with the service component; and a unit test implemented in the instance of the community, wherein the unit test automatically defines at least one member of the community having particular membership capabilities, executes the specific set of functions provided by the service component as the automatically defined member, and inspects results of execution of the specific set of functions, wherein the unit test verifies access to a first level of security for the automatically defined member by validating said member'"'"'s membership capabilities and verifies access to a second level of security by validating said member'"'"'s entitlements. - View Dependent Claims (7, 8, 9)
-
-
11. A computer-readable storage medium storing one or more sequences of instructions wherein said instructions, when executed by one or more processors cause the one or more processors to:
-
provide a portal interface to access a community of users, the community including a plurality of members that share resources of the community, the portal interface being defined by a portal file; maintain a plurality of service components, each service component providing a set of specific functions to the plurality of members in the community and enabling the plurality of members to access said resources; select at least one service component; disassemble the portal file to instantiate a community instance and associate the community instance with the service component; and execute a unit test in the community instance wherein the unit test automatically defines at least one member of the community having particular membership capabilities, executes the specific set of functions provided by the service component as the automatically defined member, and inspects results of execution of the specific set of functions, wherein the unit test verifies access to a first level of security for the automatically defined member by validating said member'"'"'s membership capabilities and verifies access to a second level of security by validating said member'"'"'s entitlements.
-
Specification