Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 83631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:48:14+00:00 2026-05-10T21:48:14+00:00

Today I ran XtUnit at a part of my unit testing framework to to

  • 0

Today I ran XtUnit at a part of my unit testing framework to to rollback database changes created while running a test case. This is a skeleton of how I have used it. The Test case ran successfully but the database state changed as a result.

using NUnit.Framework; using TeamAgile.ApplicationBlocks.Interception; using TeamAgile.ApplicationBlocks.Interception.UnitTestExtensions;  namespace NameSpace.UnitTest {   [TestFixture]   public class Test : InterceptableObject   {     [Test]     [DataRollBack]     public void CreateTest()     { 

I use Nhibernate with Mysql. Am I missing something?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T21:48:14+00:00Added an answer on May 10, 2026 at 9:48 pm

    I think your test fixture needs to extend ExtensibleFixture, not InterceptableObject. In the XtUnit source, ExtensibleFixture itself inherits from InterceptableObject. The comments in ExtensibleFixture.cs state:

    This is the base class for all the test fixtures you will
    have in your project. You MUST inherit from this in order
    for the custom attributes to work. No other special action is needed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I ran into this today when unit testing a generic dictionary. System.Collections.Generic.Dictionary<int, string> actual,
So odd situation that I ran into today with OrderBy: Func<SomeClass, int> orderByNumber =
I ran into a situation today where Java was not invoking the method I
Today, I ran into this weird problem with a user using Mac OS X.
I ran into an interesting (and very frustrating) issue with the equals() method today
Today I ran into a problem were I needed to remote-debug a program. The
Today I ran into a problem with the php function strpos() because it returned
Today I ran WinDirStat to check what is filling up my harddisk. I was
Today I ran into a very difficult TDD problem. I need to interact with
Today I ran against the fact, that sys.exit() called from a child-thread does not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.