Re: Unit Testing

2017-07-10 Thread Jason Kenny
I am making a PR for this Jason On Sunday, July 9, 2017, 4:03:44 PM CDT, Leif Hedstrom wrote: > On Jul 9, 2017, at 8:00 AM, Alan Carroll > wrote: > > I have PR 2254 which is a conversion of IpMapTest from our internal > regression test / TestBox to Catch. Overall I think Catch is clearly be

Re: Unit Testing

2017-07-09 Thread Leif Hedstrom
> On Jul 9, 2017, at 8:00 AM, Alan Carroll > wrote: > > I have PR 2254 which is a conversion of IpMapTest from our internal > regression test / TestBox to Catch. Overall I think Catch is clearly better > than gtest. > So, we could just include this in our source tree, and that’s it?

Re: Unit Testing

2017-07-09 Thread Alan Carroll
I have PR 2254 which is a conversion of IpMapTest from our internal regression test / TestBox to Catch. Overall I think Catch is clearly better than gtest.

Re: Unit testing for plugin

2016-04-25 Thread Karthik Sivaraman
Thanks Gancho. This is very helpful Karthik From: Gancho Tenev Sent: Friday, April 22, 2016 4:05 PM To: dev@trafficserver.apache.org Subject: Re: Unit testing for plugin Karthik, If interested in regression / integration testing (trafficserver+plugin

Re: Unit testing for plugin

2016-04-22 Thread Gancho Tenev
_ > From: Brian Geffon > Sent: Friday, April 22, 2016 8:46 AM > To: dev@trafficserver.apache.org > Subject: Re: Unit testing for plugin > > Take a look at the open pull requests, there are c++ API mocks that are > hopefully going to land soon too. > >

Re: Unit testing for plugin

2016-04-22 Thread Karthik Sivaraman
Thanks all. Will follow up on these links Karthik From: Brian Geffon Sent: Friday, April 22, 2016 8:46 AM To: dev@trafficserver.apache.org Subject: Re: Unit testing for plugin Take a look at the open pull requests, there are c++ API mocks that are

Re: Unit testing for plugin

2016-04-22 Thread James Peach
> On Apr 22, 2016, at 7:01 AM, Karthik Sivaraman > wrote: > > Hi > > > We are planning to maintain a plug-in that does third party feed based URL > filtering. Are there any recommendations for unit test/regression test > frameworks? What does trafficserver use for its unit/regression tests?

Re: Unit testing for plugin

2016-04-22 Thread Brian Geffon
Take a look at the open pull requests, there are c++ API mocks that are hopefully going to land soon too. Brian On Friday, April 22, 2016, James Peach wrote: > > > On Apr 22, 2016, at 7:01 AM, Karthik Sivaraman < > karthiksivara...@outlook.com > wrote: > > > > Hi > > > > > > We are planning to

Re: Unit testing for plugin

2016-04-22 Thread Jason Kenny
Have to remember the joy of e-mail at yahoo Let me try to get a good link to catch https://github.com/philsquared/Catch Jason From: Jason Kenny To: "dev@trafficserver.apache.org" Sent: Friday, April 22, 2016 9:56 AM Subject: Re: Unit testing for plugin I am planning on

Re: Unit testing for plugin

2016-04-22 Thread Jason Kenny
I am planning on proposing the use of philsquared/Catch | | | | || | | | || philsquared/Catch Catch - A modern, C++-native, header-only, framework for unit-tests, TDD and BDD | | | | for unit testing as part of my work on fixing up testing ATS within Ya

Re: Unit testing of ATS

2012-07-18 Thread James Peach
On Jul 18, 2012, at 12:23 PM, Leif Hedstrom wrote: > On 7/18/12 11:43 AM, Adam Phelps wrote: >> For these regression tests is it a release requirement that they fully pass? ie should they pass cleanly when run against the current 3.2.0 release? >>> >>> Yep. They only pas

Re: Unit testing of ATS

2012-07-18 Thread Leif Hedstrom
On 7/18/12 11:43 AM, Adam Phelps wrote: For these regression tests is it a release requirement that they fully pass? ie should they pass cleanly when run against the current 3.2.0 release? Yep. They only pass with the default configs though, so have to make a fresh install and run the re

Re: Unit testing of ATS

2012-07-18 Thread Adam Phelps
On 7/18/12 11:03 AM, Leif Hedstrom wrote: On 7/18/12 10:45 AM, Adam Phelps wrote: On 7/18/12 10:32 AM, Leif Hedstrom wrote: On 7/18/12 8:56 AM, Adam Phelps wrote: I'm looking to do make some changes to ATS in addition to doing some work on a plugin, and generally have a preference to to have u

Re: Unit testing of ATS

2012-07-18 Thread Leif Hedstrom
On 7/18/12 10:45 AM, Adam Phelps wrote: On 7/18/12 10:32 AM, Leif Hedstrom wrote: On 7/18/12 8:56 AM, Adam Phelps wrote: I'm looking to do make some changes to ATS in addition to doing some work on a plugin, and generally have a preference to to have unit tests for most of the stuff I write.

Re: Unit testing of ATS

2012-07-18 Thread Adam Phelps
On 7/18/12 10:32 AM, Leif Hedstrom wrote: On 7/18/12 8:56 AM, Adam Phelps wrote: I'm looking to do make some changes to ATS in addition to doing some work on a plugin, and generally have a preference to to have unit tests for most of the stuff I write. I figured I'd first look into what testin

Re: Unit testing of ATS

2012-07-18 Thread Leif Hedstrom
On 7/18/12 8:56 AM, Adam Phelps wrote: I'm looking to do make some changes to ATS in addition to doing some work on a plugin, and generally have a preference to to have unit tests for most of the stuff I write. I figured I'd first look into what testing was already in the ATS code base, and se