dotnet/runtime

Improve custom attribute decoding tests

Aberta

#16.552 aberto em 1 de mar. de 2016

 (2 comentários) (0 reação) (0 responsável)C# (5.445 forks)batch import
area-System.Reflection.Metadatahelp wantedtest-enhancement

Métricas do repositório

Stars
 (17.886 estrelas)
Métricas de merge de PR
 (Mesclagem média 12d 11h) (661 fundiu PRs em 30d)

Description

Currently, due to lack of time, some tests just check that we don't throw. A better approach would probably be to generically compare reflection CustomAttributeData to S.R.M CustomAttributeValue for every test attribute applied.

Also, there needs to be test cases for malformed custom attributes. Test coverage is at ~70% now with only positive cases.

Guia do colaborador