Questions tagged [dbfit]

Questions related to DbFit, a framework for writing unit- and integration-tests for database code. It is based on FitNessese.

DbFit is a framework for writing unit- and integration- tests for database code, enabling developers to manipulate database objects in a relational form, making database TDD much easier then with xUnit-style tools. It is based on FitNessese (http://fitnesse.org).

Features

  • Regression testing for queries and SQL statements
  • Functional testing for stored procedures and functions
  • Automatic transaction control and various short-cuts to make writing test scripts easier and more efficient
  • Support for DB2, Oracle, SQL Server (java and .net versions), MySql 5 and Derby (only java)

Major Links

62 questions
-1
votes
3 answers

How to check Create Table SQl query in DBFit?

I have created a table using sqlplus without any data. How can I write a test in DBFit to check if a table with that name exists?
-1
votes
1 answer

Expression of non-boolean type specified in a context where a condition is expected near 'End Time'

SELECT AgentId, StartTime, EventTo = dateadd(hh,datepart(hh,StartTime)+1,convert(datetime,convert(varchar,StartTime,112 ))), EndTime from [stage].[Agent] where EndTime is not null and StartTime is not null The above line will produce an…
Nobody
  • 549
  • 1
  • 10
  • 24
1 2 3 4
5