vividus | VIVIDUS is all in one test automation tool | Unit Testing library
kandi X-RAY | vividus Summary
kandi X-RAY | vividus Summary
The baseline is JDK 11. The latest JDK 16 is supported as well.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Transforms a table into a string
- Filter rows
- Apply filters
- Filter the column names
- Build HttpClient
- Creates the SSL context
- Configure the authentication
- Entry point for testing
- Returns a candidate for a given failed assertion
- Helper method to perform steps against the given locator
- Wait for the left SQL query to complete
- Create an eye
- Executes all steps
- Overwrites the link to the test case
- Transforms a table into a table
- Uploads a file to a file share
- Fetches URLs from the table properties
- Creates a visual check
- Validates that the given json element contains the expected json element with the given path
- Main entry point for testing
- Fetch a mail message from a server
- Main entry point
- Transforms a table
- Validates the given JSON element
- Fetch all messages
- Checks if a radio button exists
vividus Key Features
vividus Examples and Code Snippets
Community Discussions
Trending Discussions on vividus
QUESTION
I need to use meta tags to filter Scenarios to be run in Vividus, are there any options to achieve it?
...ANSWER
Answered 2020-Jun-08 at 20:12Vividus is based on JBehave and as result inherits many its features including meta filters. Vividus uses Groovy meta matcher as it's the most powerful mechanism providing a great flexibility for users. Meta info can be provided on both story and scenario levels and in the same way meta filtering is done on both levels.
The following property can be used to specify filters for Vividus:
QUESTION
I am using the Vividus tool and need to shift the date by some period; For example, the date is 202003
with the format YYYYMM
I need to shift it +1 month
.
Expected result: 202004
...ANSWER
Answered 2020-Jun-11 at 16:11You could use shiftDate expression; It takes three parameters:
Please see an example:
QUESTION
I am using Vividus tool for testing purposes and have faced an issue: after several minutes when build trying to start, I get it failed with an exception:
...ANSWER
Answered 2020-Jun-02 at 13:37Vividus is using Gradle as a build system and the problem described here Your test project exceeds the default Jar size of 4 GB;
To fix the issue please set the following property to a Jar task in your build.gradle file;
QUESTION
I am testing web ui. Which timeouts I can use in Vividus tool for this and how?
I found some steps like
...ANSWER
Answered 2020-Jun-04 at 14:20Vividus has different timeouts you could configure to synchronize your application and the tests;
Common:
- bdd.story-execution-timeout - defines the maximum time for a story execution in seconds (default value 10800)
plugin-db:
- db.query-timeout - defines the maximum time for a DB query execution, uses ISO-8061 (default 30 minutes);
plugin-web-app
- selenium.grid.capabilities.bstack:options.idleTimeout - defines how long Browserstack will wait for a command in seconds. (default 360)
- selenium.timeout.async-script-timeout
selenium.timeout.async-script-timeout-unit - defines timeout for asynch script execution and a time unit, for example SECONDS or MINUTES (default 1 minute) - selenium.timeout.page-load-timeout
selenium.timeout.page-load-timeout-unit - defines how long Vividus will wait for a web page to load (default 1 minute) - web.alert.wait-for-alert-timeout - defines how long Vividus will wait for alert. Uses ISO-8061 format (default PT0S);
- web.search.wait-for-element-timeout - defines how long Vividus will try to search an element Uses ISO-8061 format (default PT0S);
- web.wait.page-starts-to-load-timeout - defines how long Vividus will wait before checking page load status, Uses ISO-8061 format (default PT10S);
- web.wait.polling-period - defines a time period to recheck wait condition Uses ISO-8061 format (default PT2S);
web.wait.timeout - defines a timeout which will be used for the wait steps, like
When I wait until element located
$locator
appearsUses ISO-8061 format (default PT1M);
plugin-rest-api
- http.connect-timeout - defines the timeout to establish the connection with the remote host (default value 30000 in millis)
- http.connection-request-timeout - defines the timeout until a request will be executed (default value 30000 in millis)
- http.socket-timeout - defines the socket timeout in milliseconds, which is the timeout for waiting for data or, put differently, maximum period inactivity between two consecutive data packets). A timeout value of zero is interpreted as an infinite timeout.(default value 300000 in millis)
QUESTION
I'm using Vividus and need to execute a single story in several threads. Can I do this by putting Examples table on a story level? Which additional configurations should I add?
...ANSWER
Answered 2020-Jun-04 at 11:31Vividus allows to run Story-level Examples in parallel.
- Define
Examples
table in storyLifecycle
, e.g.:
QUESTION
I am using the Vividus tool for the tests; And trying to use the Date Expression just like in the example below;
...ANSWER
Answered 2020-Jun-03 at 19:47Please ensure that you have a vividus-plugin-datetime dependency in the build.gradle file as the following example shows:
QUESTION
Which databases support the Vividus tool and what should be done to work with the database?
...ANSWER
Answered 2020-Jun-08 at 20:03Vividus DB plugin vividus-plugin-db
is based on JDBC thus Vividus supports any DBMS providing JDBC driver. Most of these databases are relational, however some NoSQL databases also provide JDBC drivers.
To configure DB access it's required:
- to add the corresponding plugin to the dependencies:
QUESTION
I am using the Vividus tool for my testing. I do know that Vividus tests projects using Gradle as a build system. Which strategy of Vividus version usage I should pick?
I believe there are a few of them:
1. Use latest release version
2. Use latest Vividus available despite snapshot or release
Are there others? How to apply these strategies?
...ANSWER
Answered 2020-Jun-03 at 19:39First of all, Vividus follows Semantic Versioning and adopts all its rules and requirements.
A release version is the final build for the given version published to JCenter. A snapshot is the version being developed and regularly published to OSS JFrog Artifactory. More details regarding release vs snapshot versions can be found in the corresponding question.
Release version of Vividus
Pros:
- stable
- never changed
- determined set of available features
Cons:
- new features and bug fixes are not available immediately
- requires some effort to update to the latest release versions
Snapshot version of Vividus
Pros:
- new features and bug fixes are published regularly and available for use instantly
Cons:
- unstable: may contain new bugs
- no possibility to stick to some known good build
QUESTION
I'm using Vividus tool to test my application. How can I add existing plugin to my project?
...ANSWER
Answered 2020-May-29 at 10:25Vividus provides a range of various plugins. Gradle is used as a build tool, so you just need to add a new Gradle dependency.
Let's take Vividus starter project as example. All dependencies are declared in build.gradle
:
QUESTION
I'm using Vividus to test my application.
How can I test the file was downloaded after I click on the download button?
...ANSWER
Answered 2020-May-29 at 09:49The recommended approach:
- Find the link on the Web UI
- Extract the link URL
- Use
vividus-plugin-rest-api
steps to download the file (you may also need to inject cookies from the browser to Web UI usingvividus-plugin-web-app-to-rest-api
steps) - Validate HTTP response code and content
Example of the implementation:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vividus
Clone main Vividus project git clone --recursive https://github.com/vividus-framework/vividus.git
Build the project: ./gradlew build
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page