Skip to content

Instantly share code, notes, and snippets.

= Manual Tests
In order to ensure the quality of our projects critical user stories are going to test it manually.
These user stories are included in this document and testers should execute all of them.
*Name:*
*Date:*

Manual Tests

In order to ensure the quality of our projects critical user stories are going to test it manually.

These user stories are included in this document and testers should execute all of them.

Name:

Date:

Users should receive alerts depending on price of stocks
Narrative:
In order to sell stocks at optimum price
As a user
I want to receive alerts when stock is above a price
Scenario: Alerts are switched on/off depending on price and a threshold.
= Infrastructure
== Application Server
For current project we are going to use +Apache TomEE+ as application server.
.Apache TomEE
****
Apache TomEE (pronounced "Tommy") is the Java Enterprise Edition of Apache Tomcat (Tomcat + Java EE = TomEE)
that combines several Java enterprise projects including Apache OpenEJB, Apache OpenWebBeans, Apache OpenJPA,

Infrastructure

Application Server

For current project we are going to use Apache TomEE as application server.

Apache TomEE

Apache TomEE (pronounced "Tommy") is the Java Enterprise Edition of Apache Tomcat (Tomcat + Java EE = TomEE) that combines several Java enterprise projects including Apache OpenEJB, Apache OpenWebBeans, Apache OpenJPA,

<Resource id="database1" type="DataSource">
JdbcDriver = org.hsqldb.jdbcDriver
JdbcUrl = jdbc:hsqldb:mem:db1
UserName = sa
Password
JtaManaged = true
</Resource>
<Resource id="database2" type="DataSource">
JdbcDriver = org.hsqldb.jdbcDriver
JdbcUrl = jdbc:hsqldb:mem:db2
SearchResponse response = client.prepareSearch("docs")
.setTypes("asciidoctor")
.setQuery(matchQuery)
.execute()
.actionGet();
SearchHits hits = response.getHits();
for (SearchHit searchHit : hits) {
System.out.println(searchHit.getSource().get("content"));
QueryBuilder matchQuery = matchQuery("content", "0.1.2");
import static org.elasticsearch.index.query.QueryBuilders.matchQuery;
//....
QueryBuilder matchQuery = matchQuery("title", "released");
import static org.elasticsearch.index.query.QueryBuilders.fieldQuery;
//....
QueryBuilder matchQuery = fieldQuery("author", "+Alex -Soto");