New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

io.toast-tk:toast-tk-maven-plugin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

io.toast-tk:toast-tk-maven-plugin

Toast TK Maven plugin Mojos: - download: Download test scripts locally - upload: Upload local @Action sentences to be used on the webapp (steps' auto-completion) - run: Execute local test scripts - report: publish test plan reports

  • 0.1.5
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

Toast TK Maven Plugin

A Maven plugin to downloads scenario and upload reusable sentences to toast-tk-webapp.
It helps collecting scenarios for local execution.
How to use the Toast Tk Maven Plugin can be found on the example project.

Goals overview

  • generates-sources:download to download scenarios related to the user token.
  • install:upload to push the sentences you want to re-use on the webapp.
  • verify:run to execute a set of scripts and displays the execution report.
  • integration-test:report to execute a set of test plans and store related reports.

Examples

  • Include maven snapshot repository
<repository>
	<id>snapshots-repo</id>
	<url>https://oss.sonatype.org/content/repositories/snapshots</url>
	<releases>
		<enabled>false</enabled>
	</releases>
	<snapshots>
		<enabled>true</enabled>
	</snapshots>
</repository>
  • Download Mojo - example
<plugin>
	<groupId>io.toast-tk</groupId>
	<artifactId>toast-tk-maven-plugin</artifactId>
	<version>0.1.5-SNAPSHOT</version>
	<executions>
		<execution>
			<phase>generate-sources</phase>
			<goals>
				<goal>download</goal>
			</goals>
			<configuration>
				<!-- Change with your webapp url:port -->
				<webAppUrl>http://localhost:9000</webAppUrl>
				<!-- Change to the user token (in the user profile) -->
				<apiKey>4fYDkIAL0qrHXNxRKuK8yzUZAgNr9Ywf</apiKey>
			</configuration>
		/execution>
	</executions>
</plugin>
  • Run Mojo - example
<plugin>
	<groupId>io.toast-tk</groupId>
	<artifactId>toast-tk-maven-plugin</artifactId>
	<version>0.1.5-SNAPSHOT</version>
	<executions>
		<execution>
			<phase>verify</phase>
			<goals>
				<goal>run</goal>
			</goals>
			<configuration>
				<scripts>
					<fileset>
						<directory>${basedir}/src/main/resources</directory>
						<includes>
							<include>/**/*.*.md</include>
						</includes>
					</fileset>
				</scripts>
				<pluginsDirectory>${basedir}/plugins</pluginsDirectory>
				<outputDirectory>${basedir}/reports</outputDirectory>
			</configuration>
		</execution>
	</executions>
</plugin>
  • Report Mojo - example
<plugin>
	<groupId>io.toast-tk</groupId>
	<artifactId>toast-tk-maven-plugin</artifactId>
	<version>0.1.5-SNAPSHOT</version>
	<executions>
		<execution>
			<phase>integration-test</phase>
			<goals>
				<goal>report</goal>
			</goals>
			<configuration>
				<apiKey>4fYDkIAL0qrHXNxRKuK8yzUZAgNr9Ywf</apiKey>
				<mongoHost>localhost</mongoHost>
				<mongoPort>27017</mongoPort>
				<mongoDb>play_db</mongoDb>
				<scripts>
					<fileset>
						<directory>${basedir}/src/main/resources</directory>
						<includes>
							<include>/**/*.*.md</include>
						</includes>
					</fileset>
				</scripts>
				<pluginsDirectory>${basedir}/plugins</pluginsDirectory>
				<outputDirectory>${basedir}/reports</outputDirectory>
			</configuration>
		</execution>
	</executions>
</plugin>

Contribution

Toast TK is a young Open Source Love project.

For contribution rules and guidelines, See CONTRIBUTING.md

If you'd like to help, get in touch and let us know how you'd like to help. We love contributors!!

Licence

See Toast-tk Apache License 2.0

FAQs

Package last updated on 28 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc