Questions tagged [trx]

Test results file generated when you execute tests using MSTest. It is an XML file containing information about the test and the test run.

64 questions
2
votes
2 answers

Share test result TRX file

I have the Enterprise edition of Visual Studio, but not everyone does. How can I share the TRX so that other people can see the results? I've seen that there are several Trx to HTML convertors but they're all quite old and either don't work any…
BanksySan
  • 27,362
  • 33
  • 117
  • 216
2
votes
0 answers

Combine many MStest *.trx files into one

We are using Microsoft agents & controllers to execute many CodedUI tests in parallel across many Virtual Machines. This produces many .trx results files. Is there anyway to merge all of our TRX files back into one trx file? Thanks!
user952342
  • 2,602
  • 7
  • 34
  • 54
2
votes
2 answers

TFS 2015 not displaying UnitTest Trx output

I did some transform on the server for my UnitTests from xUnit Xml to Trx as part of my build. This way TFS can show the UnitTest counts in the build summary. That part works fine, the user can see the count of the UnitTests on the summary of the…
Orn Kristjansson
  • 3,435
  • 4
  • 26
  • 40
2
votes
1 answer

How to display Visual Studio loadtest result file (.trx) into readable format?

I would like to execute my load tests on the regular basis and make it part of my CI process. I'd like to run a Visual Studio loadtest from the console and provide the results of the test in human readable format (preferably HTML page). For…
Pavel K
  • 370
  • 2
  • 9
2
votes
0 answers

vstest.console.exe not generating Test Attributes (Owner, Priority, TestCategory) in .trx file

I have test methods which are given attributes like Owner, Priority, TestCategory as follows Public Sub SampleTest() Assert.AreEqual("0", "0") End Sub When I run this…
Madhu Dollu
  • 434
  • 3
  • 6
  • 20
2
votes
1 answer

How to add TRX file to TFS build report

During msbuild process I get TRX-file and I want to add this file to TFS unit-tests report. How can I do that?
1
vote
0 answers

Sending TRX with tronpy

I'm using tronpy library to send trx, here is my code: from tronpy import Tron from tronpy.keys import PrivateKey # integers representing half & one Tron HALF_TRON = 500000 ONE_TRON = 1000000 #equals 1 TRX # your wallet information WALLET_ADDRESS…
Goorhatar
  • 19
  • 2
1
vote
1 answer

How to send TRX to a smart contract function in tronlink web

How can I send tron to a smart contract function in tronlink web. I am trying the below method, but not working. var contract = await tronweb.contract().at('{{env('CONTRACT_ADDRESS')}}') await…
Haren Sarma
  • 2,267
  • 6
  • 43
  • 72
1
vote
0 answers

Adding log file or screenshot of failure in TRX file

I am new to Jest, I am trying to generate trx file (to publish result in azure ADO) for Jest using jest-trx-results-processor. I am able to generate the trx but I am facing difficulties in adding result file to the test failure. Right now its only…
user1
  • 121
  • 1
  • 1
  • 6
1
vote
0 answers

I want my smart contract to work with USDT

Im implementing a smart contract but i want every payable transaction work with USDT. My contract is working fine but its working with TRX. Im using tronweb to interact with it from FrontEnd. I tried using tokenid: on send parameter, but i found…
1
vote
1 answer

TFS build publish test results TRX via REST API & PowerShell

I have a TFS build process that incorporates asynchronous remote functional test executions. When the tests have finished executing, I want to publish the generated TRX file in the originating build summary and update the build status (if…
The Furious Bear
  • 592
  • 4
  • 16
  • 31
1
vote
0 answers

Display unit test filename in the TRX result file

I'm wondering is there a way to get the file name of each element displayed in the TRX results file. Currently, the class name is only displayed. This would be fine if C# did not allow class and filenames to be different, but…
user1974753
  • 1,359
  • 1
  • 18
  • 32
1
vote
0 answers

Can i create custom attribute and tags in trx file?

I have a requirement wherein i need to write some custom info, say "Bug id" on each of the unit tests i have written using MS Unit test. After doing this, I want the info in trx file in a custom tag say, Bug id : 1234 under tag. Currently, it…
1
vote
0 answers

Generating .TRX file in jenkins using .Net Framework 4.7.2 using xunit

So I've got a .Net 4.7.2 solution with a unit testing project also using 4.7.2 and xunit. I've got a jenkins job setup to run the unit tests every 5 minutes and send an email to me if any tests fail. Currently, I only know how to generate and send…
expenguin
  • 1,052
  • 2
  • 21
  • 42
1
vote
2 answers

How to prevent TeamCity XML report processing from failing build

I've got some build content that may or may not generate TRX reports, depending on the configuration; this build content is running on TeamCity. I also have an XML report processing build feature enabled so the test results can be reported if they…
ket
  • 728
  • 7
  • 22