Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@diffblue/java-combiner

Package Overview
Dependencies
Maintainers
5
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@diffblue/java-combiner

Java test combining library

  • 0.1.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
5
Weekly downloads
 
Created
Source

Diffblue Java combiner

The Diffblue Java combiner takes an array of Java methods (usually jUnit tests) and combines them into a single java class.

It can also add new test methods to an existing class.

Installation

Using npm:

npm install @diffblue/java-combiner

Usage

Example usage:

var combiner = require('@diffblue/java-combiner');

const result = combiner.genTestClass([
    {imports: ['com.example.foo.Foo'], test: '  public integer test() {\n    new com.example.foo.Foo();\n  }'},
    {imports: ['com.example.bar.Foo'], test: '  public integer test2() {\n    new com.example.bar.Foo()\n  }'},
], 'MyClassTest', 'MyClass', 'com.example');

console.log(result);

© 2019 Diffblue Limited. See the file LICENSE for usage information.

FAQs

Package last updated on 19 Sep 2019

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