Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

LegiTest

This is a prerelease version of LegiTest.

  • 1
  • 2
  • 3

2018.1.3.122-beta | Updated: 22 Jan 2018

Downloads:

210,731

Downloads of v 2018.1.3.122-beta:

315

Software Author(s):

  • Pragmatic Works Software

LegiTest 2018.1.3.122-beta

This is a prerelease version of LegiTest.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Requires Visual Studio

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install LegiTest, run the following command from the command line or from PowerShell:

>

To upgrade LegiTest, run the following command from the command line or from PowerShell:

>

To uninstall LegiTest, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade legitest -y --source="'INTERNAL REPO URL'" --version="'2018.1.3.122-beta'" --prerelease [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade legitest -y --source="'INTERNAL REPO URL'" --version="'2018.1.3.122-beta'" --prerelease
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install legitest
  win_chocolatey:
    name: legitest
    version: '2018.1.3.122-beta'
    source: INTERNAL REPO URL
    state: present
    allow_prerelease: yes

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'legitest' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2018.1.3.122-beta'
  options  '--prerelease'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller legitest
{
    Name        = "legitest"
    Version     = "2018.1.3.122-beta"
    Source      = "INTERNAL REPO URL"
    chocoParams = "--prerelease"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'legitest':
  ensure          => '2018.1.3.122-beta',
  install_options => ['--prerelease'],
  provider        => 'chocolatey',
  source          => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 22 Jan 2018.

Description

LegiTest

LegiTest is a comprehensive tool that allows you to test all your data-centric applications, in an easy-to-use, automated platform. It easily integrates with Visual Studio and your existing development software. LegiTest includes a 14-day free trial or enter your license key to access this full featured data testing suite.

LegiTest provides users a way to legitimize the data they provide to the decision makers within their organization.

LegiTest enables your team to test all aspects of the SQL Server stack. This includes testing of database objects such as stored procedures, functions, views and tables. It further includes all objects on the BI stack, including SSIS Packages, SSAS Cubes and Dimensions (both Tabular and Multidimensional) and SSRS reports.

LegiTest Highlights

  • Easy-to-use interface with no code writing necessary

  • Ability to manage your own data and test how you want

  • Simply integrates with build processes and development software you're already using


LegiTest Features

Comprehensive Test Coverage

Accurate data is necessary to any successful business. LegiTest offers users comprehensive test coverage for data-centric applications. It covers all aspects of the SQL Server stack, including SSAS, SSIS & SSRS, as well as any database with OLE DB, ODBC, or ADO.Net interfaces. LegiTest interacts with your data centric applications and will verify the results of your code and data.

Production Data Comparison

BI projects frequently interact with data stored in multiple locations and formats. LegiTest allows you to compare data across different platforms.

Test The Way You Want

Some testing tools expect you to adhere to a rigid format. LegiTest allows you to easily setup the necessary elements for your test, and to clean up afterwards. In addition, it support multiple execution tracks for tests, and lets you control the steps in the testing process.

Easy-to-Use

With LegiTest, users are provided a responsive user interface that integrates into Visual Studio. Tests can be created using an easy graphical interface. There is no need to write code and complicated operations are wrapped up into easy to use actions and assertions.

Extensible

While it is not required to write code in LegiTest, some users may want to add their own custom logic to the tests. LegiTest supports the addition of custom actions, assertions, and you can extend your test code directly.

Integrates with Existing Systems

Worried about how LegiTest will work with the systems you already have in place? It easily integrates with the products and processes you are currently using. It will generate tests that use common testing frameworks (MSTest, NUnit), and integrates well with build processes using TFS, Team City or MSBuild.

Problems Solved by LegiTest

How do you test your data-centric development today?

Most users are currently not testing their data thoroughly, using multiple products or are doing so manually. LegiTest provides users the ability to accurately test their data in one automated platform.

How long does it take to do comprehensive testing today?

It usually takes users an exorbitant amount of time to test their data since they have to compare it across multiple platforms or do it manually. LegiTest provides users with automated testing that can verify data-centric applications simply and quickly.

How are you validating the data loaded into your target systems?

LegiTest provides a single, comprehensive tool to ensure all aspects of your data-centric development are valid and legitimate.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

$packageName= 'legitest'
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url        = 'https://download.pragmaticworks.com/prerelease/BETA/2018.1/BETA_LegiTest_2018.1.3.122.vsix'

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  fileType      = "MSU"
  url           = $url

  silentArgs    = "/qn /norestart /l*v `"$env:TEMP\chocolatey\$($packageName)\$($packageName).MsiInstall.log`""
  validExitCodes= @(0, 3010, 1641)

  softwareName  = "legitest*"
  checksum = 'D370317D6080D8D35A044FDF22C8648DC8A99C8DBC77A737392E2EC3D32AF2C7'
  checksumType = 'sha256'
  checksum64 = 'RDM3MDMxN0Q2MDgwRDhEMzVBMDQ0RkRGMjJDODY0OERDOEE5OUM4REJDNzdBNzM3MzkyRTJFQzNEMzJBRjJDNw=='
  checksumType64 = 'sha256'
}

Function Test-VsRegistry($registryPath, $registryProperty)
{
    $result = Get-ItemProperty $registryPath $registryProperty -ErrorAction SilentlyContinue
    
    if (($result -ne $null) -and ($result.InstallDir -ne $null) -and ($result.InstallDir.Length -gt 0))
    {
        return $true
    }

    return $false
}

$isInstallLegiTest = $false
$vs2012 = $false
$vs2013 = $false
$vs2015 = $false

if ([IntPtr]::size -eq 8)
{
    $vs2012 = Test-VsRegistry("HKLM:\Software\WOW6432NODE\Microsoft\VisualStudio\11.0", "InstallDir")
    $vs2013 = Test-VsRegistry("HKLM:\Software\WOW6432NODE\Microsoft\VisualStudio\12.0", "InstallDir")
	$vs2015 = Test-VsRegistry("HKLM:\Software\WOW6432NODE\Microsoft\VisualStudio\14.0", "InstallDir")

    if (($vs2012 -eq $false) -and 
        ($vs2013 -eq $false) -and
		($vs2015 -eq $false))
    {
        $isInstallLegiTest = $false
    }
    else
    {
        $isInstallLegiTest = $true
    }
}
else
{
    $vs2012 = Test-VsRegistry("HKLM:\Software\Microsoft\VisualStudio\11.0", "InstallDir")
    $vs2013 = Test-VsRegistry("HKLM:\Software\Microsoft\VisualStudio\12.0", "InstallDir")
	$vs2015 = Test-VsRegistry("HKLM:\Software\Microsoft\VisualStudio\14.0", "InstallDir")

    if (($vs2012 -eq $false) -and 
        ($vs2013 -eq $false) -and
		($vs2015 -eq $false))
    {
        $isInstallLegiTest = $false
    }
    else
    {
        $isInstallLegiTest = $true
    }
}

if ($isInstallLegiTest -eq $true)
{
    Install-ChocolateyVsixPackage $packageName $url
}
else
{
    throw "LegiTest requires Visual Studio 2012, 2013, 2015."
}
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop';

$packageName = 'legitest'
$softwareName = 'legitest*'
$installerType = 'VSIX' 

$silentArgs = '/q'
$validExitCodes = @(0, 1001)
$uninstalled = $false
$file = ''

Uninstall-ChocolateyPackage -PackageName $packageName -FileType $installerType -SilentArgs "$silentArgs" -ValidExitCodes $validExitCodes -File "$file"

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
LegiTest 2018.2.4.503 7492 Thursday, May 3, 2018 Approved
LegiTest 2018.2.3.427 1005 Saturday, April 28, 2018 Approved
LegiTest 2018.2.3.412-beta 306 Thursday, April 12, 2018 Approved
LegiTest 2018.2.2.302-beta 326 Friday, March 2, 2018 Approved
LegiTest 2018.1.4.208 6337 Thursday, February 8, 2018 Approved
LegiTest 2018.1.4.129-beta 316 Monday, January 29, 2018 Approved
LegiTest 2018.1.3.122-beta 315 Monday, January 22, 2018 Approved
LegiTest 2018.1.2.1206-beta 325 Wednesday, December 6, 2017 Approved
LegiTest 2018.1.1.1030-beta 389 Monday, October 30, 2017 Approved
LegiTest 2017.4.7.1127 5078 Tuesday, November 28, 2017 Approved
LegiTest 2017.4.6.1107 1557 Tuesday, November 7, 2017 Approved
LegiTest 2017.4.5.1106 449 Monday, November 6, 2017 Approved
LegiTest 2017.4.5.1018-beta 332 Wednesday, October 18, 2017 Approved
LegiTest 2017.4.4.1017-beta 351 Tuesday, October 17, 2017 Approved
LegiTest 2017.4.3.1010-beta 376 Tuesday, October 10, 2017 Approved
LegiTest 2017.3.3.807 7197 Monday, August 7, 2017 Approved
LegiTest 2017.3.3.710-beta 377 Monday, July 10, 2017 Approved
LegiTest 2017.3.2.612-beta 385 Monday, June 12, 2017 Approved
LegiTest 2017.3.1.502-beta 392 Tuesday, May 2, 2017 Approved
LegiTest 2017.2.8.525 625 Thursday, May 25, 2017 Approved
LegiTest 2017.2.3.501 350 Monday, May 1, 2017 Approved
LegiTest 2017.2.3.330-beta 414 Thursday, March 30, 2017 Approved
LegiTest 2017.1.5 454 Thursday, February 9, 2017 Approved
LegiTest 2017.1.4 389 Thursday, February 2, 2017 Approved
LegiTest 2017.1.2-beta 354 Tuesday, November 29, 2016 Approved
LegiTest 2016.4.5 451 Thursday, November 3, 2016 Approved
LegiTest 2016.4.4 400 Tuesday, October 25, 2016 Approved
LegiTest 2016.3.1-beta1 383 Monday, May 2, 2016 Exempted
LegiTest 2016.1.7 465 Thursday, February 18, 2016 Approved
LegiTest 2016.1.5-beta5 408 Tuesday, January 19, 2016 Exempted
LegiTest 2016.1.3-beta4 380 Thursday, January 7, 2016 Exempted
LegiTest 2016.1.3-beta3 412 Thursday, January 7, 2016 Exempted
LegiTest 2016.1.2-beta2 410 Monday, November 30, 2015 Exempted
LegiTest 2015.4.1-beta1 432 Thursday, October 29, 2015 Exempted

LegiTest version 2018.1.3.122-beta

New Features

5497: Validation and Comparison manifests now support regular expression matching and asymmetric tolerances
  • A new match type of 'RegexMatch' can be used to match an expected regular expression pattern against an actual value
  • Percentage and fixed tolerance comparisons can now be set to use asymmetric tolerance values for specific ranges
11057: LegiTest now auto selects resources / assets when possible
13437: When re-publishing an assembly that is in the recycle bin on the server the assemblies are removed from the trash
14542: Visual Studio's test output console now includes LegiTest parameter information
14663: LegiTest extensions now support initializing logging through external configuration files
14715: Added support for Recipes
  • Recipes allow reusable test patterns to be quickly and easily turned into tests, allowing for tests to be created with very little knowledge of unit testing in general
  • Several recipes are available - including a uniqueness validation, range check, standard deviation validation etc
15190: Added 'Value Comparison' assertion
  • Value comparison replaces the 'Integer Comparison' and 'Scalar Comparison' assertions
  • Easier configuration for validating a single scalar value
  • Wider array of operators for comparison against multiple types
15191: Added 'Expression' assertion
  • Expression assertion allows LegiTest filter expressions to assert on single or multiple scalar values
  • Use complex combinational logic to verify resource values
  • Familiar SQL-like syntax for comparison and logical combination through AND / OR
15671: Load Text File action
  • The Load Text File action allows users the ability to load the content of any text file into a resource for later use

Updated Features

14583: Help Documentation now includes a Frequently Asked Question including detailed code samples for one-time use parameter values

Fixes

13467: 'Move Up' / 'Move Down' moves all tests to the bottom of the list
13901: Exception messages in Group Setup and Teardown are difficult to troubleshoot
13972: Compiler warning in generated projects: Architecture mismatch between MSIL and x86
13973: LegiTest does not parse user defined parameter syntax in Data Driven test queries
13978: Enabling an empty data-driven source causes unclear compilation error
14562: Within Data Driven Source, the "Edit Filter" and "Edit Asset" buttons for File Handling sources do not do anything
14626: Validation Manifest configured with invalid grid provider crashes Visual Studio on column load
15116: Project Level Asset file doesn't get marked as dirty in VS after changes
15129: LegiTest Rest Connection/Query Headers do not replace parameter syntax
15134: Legitest: "Object cannot be cast from DBNull to other types" error in Legacy Test Suites
15178: Fixed Width File Reference asset throws "Could not detect file format value cannot be null. Parameter name: values"
15252: Tests targeting NUnit error with BadImageFormatException when run via LegiTest Runner
15629: Parameter replacement does not work within the filter of a Data Driven Directory Reference
15654: Project level connection assets with parameterized connection strings do not work in all scenarios
15657: Value Comparison fails when ResourceKey contains ( or )
15658: Comparison Manifest does not recognize global connection assets


This package has no dependencies.

Discussion for the LegiTest Package

Ground Rules:

  • This discussion is only about LegiTest and the LegiTest package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or LegiTest, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus