fluentassertions / fluentassertions/fluentassertions.datasets
NotHaveColumn assertion for data tables
Abierto
- Lenguaje dominante
- C#
- Estrellas
- 1
- Forks
- 4
- Merge medio
- 8 h 19 min
- PR fusionados (30 d)
- 3
Descripción
### Background and motivation
As per the documentation https://fluentassertions.com/data/
Currently there is a HaveColumn assertion for data tables, but there is no NotHaveColumn
### API Proposal
this probably isn't right, but should give an indication:
```C#
public class DataTableAssertions
{
public AndConstraint NotHaveColumn(string columnName, string because = "", params object[] becauseArgs);
}
```
### API Usage
```C#
var table = new DataTable();
table.Should().NotHaveColumn("User")
```
### Alternative Designs
_No response_
### Risks
_No response_
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.